Splunk Knowledge Objects Setupのロゴ

Splunk Knowledge Objects Setup

コミュニティ
chambear2809
splunk-knowledge-objects-setup

Use when the user asks to create or govern saved searches, scheduled searches, alerts, macros, lookups, eventtypes, tags, or to set knowledge-object permissions, ownership, or app sharing. Not for Enterprise Security detections, which live in splunk-enterprise-security-config. Render, validate, and apply governance for Splunk knowledge objects: saved searches and alerts, search macros, CSV and KV Store lookups (with automatic lookup binding), eventtypes, and tags, plus sharing and ownership (ACL) governance across user, app, and global scopes. This does not implement fields.conf, field extractions, FIELDALIAS, calculated fields, bulk inventory, or arbitrary ACL endpoints.

概要

公開者chambear2809
リポジトリsplunk-cisco-skills
スキル名splunk-knowledge-objects-setup
スター
40
フォーク
7
同梱ファイル
7
ライセンスApache-2.0
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 7個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    chambear2809がGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキルSplunk Knowledge Objects SetupをTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/chambear2809/splunk-cisco-skills/tree/main/skills/splunk-knowledge-objects-setup
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/chambear2809/splunk-cisco-skills.git /tmp/splunk-cisco-skills
mkdir -p .claude/skills
cp -r /tmp/splunk-cisco-skills/skills/splunk-knowledge-objects-setup .claude/skills/splunk-knowledge-objects-setup
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでSplunk Knowledge Objects Setupを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあると、モデルが自動的にSplunk Knowledge Objects Setupを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Splunk Knowledge Objects Setupは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Splunk Knowledge Objects Setup

Prerequisites

Tool or accessPurposeVerify
Bash and Python 3Run bundled setup and validation helpersbash --version && python3 --version
Required product/platform accessInspect or configure the selected targetComplete the documented preflight
Credential files for live modesKeep secrets out of chatVerify paths only

Workflow Overview

text
┌───────────┐   ┌───────────────┐   ┌───────────────┐   ┌─────────────────┐
│ Preflight │ → │ Render/review │ → │ Apply/handoff │ → │ Validate evidence │
└───────────┘   └───────────────┘   └───────────────┘   └─────────────────┘

When to Activate

  • Create or govern saved searches, scheduled searches, alerts, macros, lookups, eventtypes, tags, or to set knowledge-object permissions, ownership, or app sharing. Not for Enterprise Security detections, which live in.
  • Preview and review the splunk knowledge objects setup workflow before any live apply phase.
  • Diagnose failed prerequisites, generated assets, configuration, or validation evidence.

Scope

Follow the documented read-only or render-first path whenever it is available. This skill does not imply permission to mutate live systems. Require explicit apply flags, protected credentials, and operator review for state changes.

Examples

Inspect the supported setup modes before selecting one:

bash
bash skills/splunk-knowledge-objects-setup/scripts/setup.sh --help

Expected output: usage, supported modes, and required arguments are displayed without changing the target environment.

Inspect validation modes before running completion checks:

bash
bash skills/splunk-knowledge-objects-setup/scripts/validate.sh --help

Expected output: offline, live, and completion options are displayed when the skill supports them; help exits without mutation.

Troubleshooting

IssueCauseResolution
Preflight failsA required tool or access path is missingResolve it before rendering or applying
Rendered assets are incompleteRequired non-secret inputs are absentComplete intake and render again
Apply is blockedReview, credentials, or explicit acceptance is missingUse the documented handoff
Validation is incompleteLive evidence is unavailableRecord the gap and keep completion open

This skill renders and applies common Splunk knowledge objects and their permissions. It is render-first so you can review the exact conf stanzas and ACL plan before writing them live.

Agent Behavior

Never ask for the Splunk admin password; apply reads the project credentials file via the shared helper. Setting sharing=global is broad and refuses to apply without --accept-global-sharing. App/global objects must use owner nobody; private (user) objects must name a user owner. Owner names must match the strict Splunk username allowlist, and every REST namespace segment is URL-encoded before use.

Quick Start

Render a search macro:

bash
bash skills/splunk-knowledge-objects-setup/scripts/setup.sh --object-kind macro --name net_idx --definition 'index IN ("a","b")'

Apply a scheduled saved search live:

bash
bash skills/splunk-knowledge-objects-setup/scripts/setup.sh --phase apply \
  --object-kind savedsearch --name "Daily Count" --app-name search \
  --search 'index=main | stats count' --is-scheduled true --cron-schedule '0 6 * * *'

Apply a KV Store lookup definition shared at app scope:

bash
bash skills/splunk-knowledge-objects-setup/scripts/setup.sh --phase apply \
  --object-kind lookup --name asset_lookup --lookup-type kvstore --collection asset_inventory \
  --fields-list "_key,ip,risk" --sharing app --owner nobody --read-roles "*"

Query the real object, ACL, and optional automatic-lookup binding and fail on drift:

bash
bash skills/splunk-knowledge-objects-setup/scripts/setup.sh --phase status \
  --object-kind macro --name net_idx --definition 'index IN ("a","b")'

What It Renders

  • savedsearches.conf, macros.conf, transforms.conf, props.conf, eventtypes.conf, tags.conf (whichever the object kind needs)
  • lookup-stub.csv for CSV lookups
  • acl-plan.json describing sharing/ownership applied to the object /acl

Apply And ACL

preflight is a live, read-only phase: it authenticates, proves the target app and conf collection are readable, and snapshots the existing object, ACL, and optional automatic-lookup stanza. status also performs live REST reads and writes a mode-600 knowledge-objects/state/live-status.json; it is not an alias for rendered intent.

Apply uses the REST configs/conf-* endpoints, sets the object's /acl, reads the result back, and fails if content or governance differs from the request. If any step fails after mutation, it performs GET-only reconciliation. A pre-existing or newly created object, ACL, or automatic-lookup stanza is never restored, overwritten, or deleted automatically: Splunk exposes no verified conditional If-Match write/delete contract, so another actor can edit state after any guard GET. Failed state is retained with mode-600 before/current snapshots under a mode-700 knowledge-objects/state/manual-cleanup-* directory, explicit reviewed recovery guidance, and rollback=partial/manual_cleanup_required=true in mode-600 apply-evidence.json. If every queried target already matches its exact pre-transaction state, reconciliation records that no failed mutation remains.

Transactional REST apply fails closed for SHC deployer-bundle delivery because a member REST ACL update cannot be atomic with a deployer file write. This skill does not render local.meta or a bulk SHC bundle; prepare and review a deployer-owned app bundle through a supported SHC deployment workflow. CSV lookup content remains a separate file: place it in the app lookups/ directory or upload it through the lookup editor.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Splunk Knowledge Objects Setup」では何ができますか?

Use when the user asks to create or govern saved searches, scheduled searches, alerts, macros, lookups, eventtypes, tags, or to set knowledge-object permissions, ownership, or app sharing. Not for Enterprise Security detections, which live in splunk-enterprise-security-config. Render, validate, and apply governance for Splunk knowledge objects: saved searches and alerts, search macros, CSV and KV Store lookups (with automatic lookup binding), eventtypes, and tags, plus sharing and ownership (ACL) governance across user, app, and global scopes. This does not implement fields.conf, field extr...

TypingMindでSplunk Knowledge Objects Setupを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Splunk Knowledge Objects Setupはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにSplunk Knowledge Objects Setupをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/chambear2809/splunk-cisco-skills/tree/main/skills/splunk-knowledge-objects-setupを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Splunk Knowledge Objects Setupを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストが合致したときにこのスキルを読み込めます。

Splunk Knowledge Objects Setupは何個のAIモデルで使えますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもSplunk Knowledge Objects Setupを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Splunk Knowledge Objects Setup」は無料ですか?

はい。chambear2809がGitHubでApache-2.0ライセンスの下で公開しています。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇