AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Agent Hygiene

skill-yltw27-agent-hygiene-agent-hygiene · by yltw27

Explicit-only audit of local coding-agent setup, installed skills, MCP servers, plugins, and recent usage signals. Use only when the user explicitly invokes $agent-hygiene.

No reviews yet
0 installs
41 views
0.0% view→install

Install

$ agentstack add skill-yltw27-agent-hygiene-agent-hygiene

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-yltw27-agent-hygiene-agent-hygiene)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
4mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Agent Hygiene? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Agent Hygiene

Invocation Policy

This skill must stay explicit-only. Keep agents/openai.yaml with policy.allow_implicit_invocation: false so the skill is not injected into normal sessions by default.

Do not edit, disable, unlink, uninstall, or remove anything during the audit unless the user explicitly asks for a follow-up cleanup step.

Scope

Audit the user's local coding-agent setup and recommend how to reduce context noise and tool-selection ambiguity.

Focus on:

  • Installed skills across Codex and common shared skill directories
  • Codex plugins and MCP servers
  • Duplicate or overlapping skills
  • Skills installed globally that should be project-local
  • Broad mandatory skills that may trigger too often
  • Explicit skill mentions and tool-call signals in recent Codex sessions
  • Skills with no visible recent use

Treat usage data as a signal, not proof. Implicit skill triggering may not be visible in logs, and old sessions may be compacted or absent.

Workflow

  1. Ask a clarifying question only if the user wants a non-default scope. Default to the last 30 days and the current machine.
  2. Run the bundled audit script from the skill directory:
python3 /path/to/agent-hygiene/scripts/audit_agent_hygiene.py --days 30
  1. Inspect the script output. Read specific SKILL.md files only when needed to verify broad descriptions, overlap, or agent-specific instructions.
  2. Produce recommendations. Do not run uninstall commands.

Recommendation Rubric

Use these categories:

  • Keep: recently used, narrow trigger, high-value workflow, or installed as part of an enabled plugin the user actively uses.
  • Move project-local: useful only in one repo or team context.
  • Make explicit-only: rare, broad, expensive, or potentially disruptive but still useful on demand.
  • Rewrite: useful skill with vague, overlapping, or "always/mandatory" trigger wording.
  • Remove: duplicate, stale, wrong-agent install, broken path, or no credible recent use.
  • Investigate: usage evidence is too thin to recommend confidently.

Prefer pruning global auto-triggerable skills before plugin or system skills. For plugin-provided skills, recommend disabling/removing the plugin only when the whole plugin appears unused.

Output

Return a concise audit:

  • Summary: counts and main risk.
  • Recommendations: grouped by action, with evidence.
  • Notes: limitations of the usage evidence.
  • Next command: one safe command to inspect or verify, not a destructive cleanup command.

Be direct. The goal is a smaller, higher-signal agent setup, not a complete inventory dump.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.