attune-ai: Skill for Claude Code

.agents/skills/security-audit/SKILL.md

security-audit is a skill for Claude Code, Codex from Smart-AI-Memory/attune-ai. It costs 54 tokens per session (884 once invoked), scanned A, original, Apache-2.0.

A security scan for common software weaknesses, including unsafe code execution, path traversal, exposed secrets, and injection risks.

In plain words
What is it for?
Use it for a focused or full review of a project, such as checking secrets, injection risks, dependencies, or the listed security weaknesses.
Why use it?
It helps identify ways attackers could run unwanted code, access the wrong files, steal credentials, or alter commands and data. It also asks which part of the project and which concern to examine.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is Smart-AI-Memory/attune-ai's own configuration. It tells Claude Code and Codex how to work on attune-ai itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything attune-ai configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Smart-AI-Memory/attune-ai. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Smart-AI-Memory/attune-ai/main/.agents/skills/security-audit/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/Smart-AI-Memory/attune-ai

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for security-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/smart-ai-memory/attune-ai/security-audit.svg)](https://agentmods.dev/skills/smart-ai-memory/attune-ai/security-audit)
Your own site
<a href="https://agentmods.dev/skills/smart-ai-memory/attune-ai/security-audit"><img src="https://agentmods.dev/badge/skills/smart-ai-memory/attune-ai/security-audit.svg" alt="Measured on agentmods" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 884 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 34
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00054 $0.00884
Opus 5 $0.00027 $0.00442
Sonnet 5 $0.00011 $0.00177
Haiku 4.5 $0.00005 $0.00088

Measured 5d ago against content hash 2e6a7b53a474, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

security-audit scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/security-audit/SKILL.md · 116 lines

How it starts

The opening of the file, as written. The whole thing — 116 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Security Audit

IMPORTANT: Start your response with a context preamble.

Call help_lookup(topic="security-audit", mode="preamble") and display the returned preamble text as a blockquote. Then tell the user they can say "tell me more" for a step-by-step guide, or answer the scoping questions below to proceed.

If the MCP call fails, fall back to:

Security Audit — Scans your code for security vulnerabilities — eval/exec, path traversal, hardcoded secrets, injection risks.

Scoping

Before running, ask:

  1. Scope: "Which path should I scan?" Default to the project root if the user says "everything."
  2. Focus: "Any specific concern — secrets, injection, dependencies, or a full sweep?"

Execution

Shared command workspace (preferred)

Open adapter security-audit with the validated path and focus. The invocation authorizes this read-only scan, so the running workspace has no confirmation action. Call security_audit and publish its exact outcome as scan_result, including health score, files scanned, and categorized path/line/severity/CWE findings. An incomplete scan must say “did not complete,” never “clean.”

Critical/high findings render one per page with bound Previous/Next actions, avoiding a tall unscrollable form. finish_security_audit records the report; handoff_to_fix prepares an explicit Fix input containing all critical/high receipts but performs no mutation. Fix retains its own exact-command approval. Present the terminal widget or Markdown and preserve the same pagination, failure, and handoff semantics in text fallback.

Call the security_audit MCP tool with the scoped path:

security_audit(path="<user-specified path>")

Output Format

The security_audit tool returns a health_score, the summary_markdown, and a pre-rendered panel_html (present on the report path).

Prefer the rich panel. Pass the response's panel_html straight to mcp__visualize__show_widget — it renders the report's sections (findings cards and/or category bullet lists — security / quality / performance / architecture) under the title + score. Display-only and injection-safe (generated by attune.workflows.report_panel, the universal renderer shared by every analysis workflow). A failed run shows an explicit "did not complete" state, never a false "clean".

Read the full file on GitHub · 116 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago Changed · +15 lines 2e6a7b53a474
  2. 8d ago First seen · 101 lines · 54 tokens per session scan A 1b1931030d0b

Subscribe to this mod's changes

security-audit is a skill published in the GitHub repository Smart-AI-Memory/attune-ai (10 stars, last pushed today), licensed Apache-2.0. It adds 54 tokens to every session and 884 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.