Splunk Admin Doctorのロゴ

Splunk Admin Doctor

コミュニティ
chambear2809
splunk-admin-doctor

Use when the user asks for a Splunk admin doctor, health audit, full feature coverage check, production- safe remediation plan, Cloud/Enterprise admin troubleshooting, or routing to existing Splunk admin skills. Diagnose Splunk Cloud Platform and Splunk Enterprise administration health, render full-coverage doctor reports, and create selected safe fix packets.

概要

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

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

  • どのLLMでも利用可能

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

  • 7個の同梱ファイル

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

  • オープンソース

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

インストール

AIスキル「Splunk Admin Doctor」を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-admin-doctor
  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-admin-doctor .claude/skills/splunk-admin-doctor
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

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

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

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

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

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

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

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

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

スキルの指示

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

Splunk Admin Doctor

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

  • The user asks for a Splunk admin doctor, health audit, full feature coverage check, production-safe remediation plan, Cloud/Enterprise admin troubleshooting, or routing to existing Splunk admin skills.
  • Preview and review the splunk admin doctor 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-admin-doctor/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-admin-doctor/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 diagnoses major Splunk administration domains and renders a conservative fix plan. It supports Splunk Cloud Platform and self-managed Splunk Enterprise, classifying every domain as direct_fix, delegated_fix, manual_support, diagnose_only, or not_applicable.

Coverage and health are deliberately separate:

  • remediation_coverage says whether the repository has a safe route for a feature.
  • assessment says healthy, finding, partial, unknown, or not_applicable from the supplied evidence.
  • evidence_status says whether every applicable rule was actually assessed.
  • SAD-EVIDENCE-INCOMPLETE prevents missing evidence from appearing healthy.
  • Optional/unlicensed capabilities can be explicitly excluded through boolean applicability.rules or applicability.domains evidence maps; omission alone never implies not applicable. Baseline health domains and rules cannot be excluded through these maps.

The catalog also resolves detected product footprints to exact Security, ITSI, SOAR, Observability, On-Call, AppDynamics, Cisco, AI/ML, MCP, WideField, and Galileo routers. Catalog validation fails when any repository skill lacks an explicit disposition or a delegated handoff no longer exists.

Agent Behavior

Never ask for passwords, tokens, API keys, or other secrets in chat. Do not pass secret values on the command line. Use existing repo credentials files and secret-file paths only. Evidence and generated artifacts reject symlink and hardlink destinations, use bounded reads and writes, and are rendered owner-only.

Platform and target identity fail closed. Supply --platform cloud or --platform enterprise for normal operation. --platform auto is accepted only when the evidence JSON declares platform or a strict HTTPS management hostname ends in .splunkcloud.com; every other ambiguous case fails instead of silently defaulting to Enterprise. If --splunk-uri is supplied, it must be a credential-free HTTPS management origin with a valid hostname and optional numeric port. Userinfo, non-root paths, query strings, and fragments are rejected before collection or rendering.

The doctor is intentionally conservative:

  • doctor and fix-plan are read-only with respect to Splunk; they write local report artifacts and remain conservatively mutation-gated by MCP.
  • apply requires explicit --fixes FIX_ID[,FIX_ID].
  • apply --dry-run previews only.
  • --require-complete-evidence exits 3 when any applicable rule remains unassessed; --strict exits 2 for high/critical findings.
  • v1 does not run restarts, deletions, certificate rotations, cluster operations, user/role deletion, KV Store cleanup, or backup uploads.
  • Specialized work is routed to existing mature skills such as ACS allowlists, HEC, Monitoring Console, Agent Management, Workload Management, SmartStore, PKI, public exposure hardening, license manager, app install, and indexer cluster setup.

Quick Start

Run an Enterprise doctor report:

bash
bash skills/splunk-admin-doctor/scripts/setup.sh \
  --phase doctor \
  --platform enterprise \
  --splunk-home /opt/splunk

Render a fix plan from saved evidence:

bash
bash skills/splunk-admin-doctor/scripts/setup.sh \
  --phase fix-plan \
  --platform enterprise \
  --evidence-file skills/splunk-admin-doctor/fixtures/enterprise_unhealthy.json

Preview selected fix packets:

bash
bash skills/splunk-admin-doctor/scripts/setup.sh \
  --phase apply \
  --platform cloud \
  --evidence-file skills/splunk-admin-doctor/fixtures/cloud_acs_rest_denied.json \
  --fixes SAD-CONNECTIVITY-REST-DENIED \
  --dry-run \
  --json

Preview a live sweep against the canonical named on-prem profile before making any request:

bash
python3 skills/splunk-admin-doctor/scripts/live_validate_all.py \
  --profile onprem_2535 \
  --platform enterprise \
  --max-retained-runs 50 \
  --plan-only

After reviewing the plan, run one bounded validation sweep:

bash
python3 skills/splunk-admin-doctor/scripts/live_validate_all.py \
  --profile onprem_2535 \
  --platform enterprise \
  --max-retained-runs 50 \
  --once

The live runner's --allow-apply mode is currently limited to rendering a local doctor fix plan. Previous remote MC/HEC/WLM and Observability mutation smokes are disabled until target-bound snapshots, cleanup-in-finally behavior, and byte-for-byte rollback are implemented and tested.

Before any live request, the runner requires an existing named profile, an unambiguous Cloud/Enterprise platform resolved from the request or profile, a credential-free HTTPS management origin, and TLS verification. Conflicts fail before REST or SSH probes. Legacy flat credential files are rejected unless the operator explicitly adds --allow-flat-credentials; that compatibility flag must not be used when a named profile can be created. One bounded evidence sweep feeds the doctor and baseline gate; the runner does not repeat the same REST/SSH probes as separate validation steps.

Child-skill validation defaults to checked-in --help interface checks. Add --allow-offline-smoke only to run checked-in offline smoke entrypoints. Source-discovered live phases are rejected until the repository has an audited, checked-in command safety manifest; a source-text match is not proof that a phase is mutation-free. Interface-only success is reported as interface-pass, never as feature validation.

template.example is a non-secret human worksheet, not a CLI spec file. Pass its values through the documented flags and supply machine evidence as JSON with --evidence-file.

Outputs

The default output directory is splunk-admin-doctor-rendered/:

  • doctor-report.md and doctor-report.json
  • fix-plan.md and fix-plan.json
  • coverage-report.json
  • artifact-manifest.json with the committed bundle's artifact hashes
  • evidence/normalized-evidence.redacted.json
  • evidence/collection-notes.md with source provenance and redacted collector notes
  • handoffs/*.md for direct and delegated fix packets
  • support-tickets/*.md for manual/support packets

The normalized evidence artifact contains the redacted, validated evidence used for rule evaluation, including documented derived fields. It is not a byte-for-byte copy of an operator's source file. A non-blocking output lock serializes the whole bundle, and status verifies the integrity manifest before trusting any report. The obsolete evidence/input-evidence.redacted.json name is removed on the next committed render; consumers must use the normalized filename.

The live validation runner writes bounded, sanitized evidence under splunk-live-validation-runs/:

  • checkpoint.json for bounded audit history; it is not an execution cache
  • runs/<unique-run-id>/ledger.jsonl with one row per planned or executed step
  • runs/<unique-run-id>/evidence/*.redacted.json
  • runs/<unique-run-id>/final-report.json and .md

The output namespace is protected by a non-blocking process lock. Run IDs include time, iteration, process ID, and randomness. Checkpoint history is private, bounded, and schema-checked, but every current-run apply render is regenerated; prior step results and artifacts are never reused as current-run success. The runner retains at most 50 recognized run directories in total by default, always preserving the current run; stale or incomplete non-current runs count toward the bound, and the oldest are pruned at safe lifecycle points. Change the positive bound with --max-retained-runs. Command output and REST bodies are bounded, stdin is disabled, and timeout/interrupt handling terminates the whole child process group before finalizing the report.

One-shot and bounded/watch exits reflect the final completed sweep: if its totals contain any hard failures, the runner exits nonzero.

--phase status separates report validity from deployment health. A readable, schema-valid report can still contain findings or incomplete evidence. report_valid is the schema/readability result; deprecated ok is only its alias. healthy, evidence_complete, severity_counts, and health_status carry the assessment. health_status is one of healthy, findings, incomplete, or findings_and_incomplete; never treat report_valid or ok alone as a healthy deployment. strict_ready mirrors the complete-evidence plus high/critical-finding gate used for strict automation, and integrity_verified confirms the committed artifact bundle matched its manifest. Status exits 0 for any valid bundle, including an unhealthy one; automation must gate on the assessment fields rather than the process exit alone.

coverage-report.json includes domain assessments, expected and unassessed evidence paths, product routes, and the exhaustive repository-skill disposition map. A supported feature with missing evidence is unknown, never implicitly healthy.

Read reference.md before changing rule coverage, adding a new fix kind, or expanding apply behavior.

同梱ファイル

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

よくある質問

AIスキル「Splunk Admin Doctor」では何ができますか?

Use when the user asks for a Splunk admin doctor, health audit, full feature coverage check, production- safe remediation plan, Cloud/Enterprise admin troubleshooting, or routing to existing Splunk admin skills. Diagnose Splunk Cloud Platform and Splunk Enterprise administration health, render full-coverage doctor reports, and create selected safe fix packets.

TypingMindでSplunk Admin Doctorを使うメリットは何ですか?

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

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

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

Splunk Admin Doctorを使えるAIモデルはどれですか?

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

Splunk Admin Doctorで使えるAIモデルの数に制限はありますか?

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

AIスキル「Splunk Admin Doctor」は無料ですか?

はい。chambear2809がApache-2.0ライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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