hashimiche/hal/audit-analysis
Claude Code and agent skill by hashimiche/hal
- community
Checking that the SKILL.md file is still in the repository.
Investigate and summarize Vault audit activity in the local hal lab. Use this skill when the user asks who accessed a secret, what happened to a request, whether root was used, why a login failed, or to analyze Vault audit logs from Loki or the local audit stream. Triggers include "who accessed", "check audit logs", "trace request", "failed login", "Vault activity", and "investigate Vault".
Install
npx vskill@latest install hashimiche/hal/audit-analysisSKILL.md
The same SKILL.md was published earlier as hashimiche/hal/audit-analysis.
Vault Audit Log Investigator
Use this skill for forensic or troubleshooting questions after Vault audit logging has already been enabled.
Lab Assumptions
- Vault audit logging should already be enabled, ideally with
hal vault audit enable --loki - Observability may already be running via
hal obs create - Prefer the
vault-auditMCP server when available - Do not dump raw audit JSON unless the user explicitly asks for it
What This Skill Covers
- Activity summaries over a recent time window
- Tracing a specific request or request ID
- Identifying failed auth attempts, root token usage, secret reads, and destructive operations
- Explaining likely causes and next operator actions
Workflow
Step 1: Identify the intent
Determine what the user is looking for:
- If they want a summary of recent activity, use the
audit.search_eventstool. - If they want to know how many times a specific action happened, use
audit.aggregate. - If they provide a specific request ID, use
audit.trace. - If they ask who accessed a specific path, filter by path plus operation and summarize identities.
- If they ask whether root was used, look specifically for privileged tokens, dangerous paths, and failed logins.
Step 2: Query the MCP
Prefer filters such as:
pathoperationmount_typeentity_idnamespace- time window
If the MCP server is unavailable, tell the user that deep audit analysis is limited and fall back to high-signal commands such as:
docker exec -it hal-vault tail -n 100 /vault/logs/audit.log
Step 3: Present structured results
Do not dump raw JSON logs. Synthesize the MCP output into a clean, markdown-formatted incident report.
Tier 1 — Executive Summary A one-sentence overview of what was found.
Tier 2 — Activity Table
| Time | Operation | Path | Identity (Entity ID) | Status | |
|---|---|---|---|---|---|
| ... | ... | ... | ... | ... |
Tier 3 — Risk Highlights Call out any of these prominently:
- root token usage
- repeated failed logins
- destructive writes or deletes
- access outside the expected mount or namespace
- anomalous burst activity
Tier 4 — Actionable Insights If the MCP tool returns critical_events or high_risk_events, highlight them prominently with recommendations.
Recommended Response Style
- Start with what happened
- Then show the minimal evidence table
- Then give the likely explanation
- End with next commands the user can run
Common Edge Cases
- No logs found: Ask whether
hal vault audit enable --lokiwas run and whether observability is up. - User asks to enable logging first: Switch to the
auditskill. - Too much raw data: Summarize by operation, actor, path, and time window instead of pasting events.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckinginternal/skills/data/vault/audit-analysis/SKILL.md
Popularity
- 7-day trend score
- 0
Refreshed 24 Nov 2026, 3 days ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/hashimiche/hal/audit-analysis)