/act101:agent-safety-auditfrom act101
Audits a file for safety before an autonomous agent edits it: checks secret surface, taint flow, blast radius, API width, and repo-level AI-code threats. Produces a verdict (SAFE-ish / HUMAN REVIEW / UNAUDITED).
Ships in act101. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Produce a per-file agent-edit safety card: does this code touch secrets, carry untrusted data to a dangerous sink, have a large blast radius, or expose a wide API the agent could break?
| Step | Tool | Question it answers |
|---|---|---|
| 1 | secret_surface | Does the file touch credentials, tokens, signing keys, env-secret reads, or hardcoded secret literals? |
| 2 | taint_flow | Does untrusted input reach a dangerous sink (raw SQL, eval, command exec, fs path, deserialization)? |
| 3 | analyze_impact | How many files transitively depend on the target? |
| 4 | analyze_surface | How wide is the public API at this boundary? |
| 5 | scan | Repo-level AI-code threats the per-file tools miss: hardcoded credentials across the tree, .cursorrules/AI-config hidden-Unicode backdoors, MCP-config RCE, typosquat or hallucinated dependencies, GitHub Actions expression injection, LLM-output-to-exec flows, prompt-injection surfaces. |
taint_flow is Architecture tier; each tool enforces its own tier.
secret_surface on the file. Any CredentialParam, TokenVar, SigningKey,
EnvSecretRead, or HardcodedLiteral hit means the agent is editing
secret-adjacent code: flag for human review.taint_flow with target and file. A source-to-sink path is a hard flag. Note
unresolved tainted-arg callees on the frontier: analysis stopped there, so
downstream is unverified.analyze_impact with the file as target to size the blast radius.analyze_surface at the file's boundary.scan with root set to the repo root. Any ai_config_backdoor,
mcp_config_rce, llm_output_execution, or dependency_hallucination finding is
a hard HUMAN REVIEW flag. If the repo has a committed .act/baseline.json, pass
baseline=".act/baseline.json" and read the new partition
(baseline.new_finding_ids): findings absent from the committed baseline.
The baselined partition is acknowledged debt, not a second signal.
Private repos need the scan entitlement; without it, mark this dimension
UNAUDITED.modeled_kinds from secret_surface, taint_flow, and
analyze_surface.scan finding of the four kinds named in step 5. Name the signal that
fired.secret_surface, taint_flow, or analyze_surface returned
empty modeled_kinds for this grammar, or a tool was tier-blocked. Name the
dimension and the language.Every dimension is AST or heuristic. secret_surface, taint_flow, and
analyze_surface report what they modeled in modeled_kinds. A non-empty mask with an empty finding is a genuine negative. An
empty or absent mask means the dimension was not modeled for this grammar: report it
as UNAUDITED, never as clear. Verdicts are advisory, not a security guarantee.
One safety card per file: secret hits, taint paths (source to sink, with frontier
notes), blast-radius count, API width, scan findings, the verdict, and the
modeled_kinds plus language for every uncovered dimension.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
agent-safety, code-audit, security-review, blast-radius, taint-analysis
26 skills in this plugin
/architectural-refactoringUse when breaking circular dependencies, splitting god classes, reducing coupling between modules, extracting interfaces at seams, or executing any structural change identified by an architecture audit. Requires a prior architecture-audit run that produced project-map.md and a report./architecture-auditUse when asked to audit architecture, get the full structural picture of a codebase, assess overall health or porting readiness, or find module boundaries, circular dependencies, coupling hotspots, dead code, or code smells. Full hypothesis-driven audit, optionally enriched with coverage and git evidence./boundary-analysisUse when looking for extraction candidates, planning a module split, analyzing module boundaries, or asked "where should I split this?". Produces ranked extraction candidates with cut costs, layer violations, interface width, orphan types, and a decomposition sequence.npx claudepluginhub act101-ai/act101 --plugin act101Other plugins' skills for the same job