agentleFS
IBMIBM/mcp-context-forge/.agents/skills/secret-detection/SKILL.md

secret-detection

Skill4.9k starsChanged 17 days agoApache-2.0View on GitHub

Resolve a `detect-secrets` finding or a `.secrets.baseline` change. Use when `make detect-secrets-scan` fails, when you add a placeholder credential to docs or code, or when you resolve a baseline merge conflict.

1 other project uses a version of this.

Adopted by

Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data

Week of Oct 4: 0 new projectsWeek of Oct 11: 0 new projectsWeek of Oct 18: 0 new projectsWeek of Oct 25: 0 new projectsWeek of Nov 1: 0 new projectsWeek of Nov 8: 0 new projectsWeek of Nov 15: 0 new projectsWeek of Nov 22: 0 new projects
Oct 2026Nov 2026Nov 2026
New projects taking a version of this file each week, over the 8 weeks our latest run read: only 0 in all, so this is a hint, not a trend.

Most recently taken up by

Who's talking about IBM/mcp-context-forge

The biggest 5 of 59 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 59

Talked about on GitHub, Bluesky and Hacker News (59 times).

On GitHub · 50

45 more on GitHub

On Bluesky · 8

3 more on Bluesky

On Hacker News · 1

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Prefer removing the trigger.

    line 8
  2. Very specific:

    Run make detect-secrets-scan.

    line 21

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Secret Detection (detect-secrets)

Prefer removing the trigger. Rewrite the line so it holds no credential-shaped value. Suppress only when the value must stay.

Suppress a False Positive

  • Python files: suppress inline with # pragma: allowlist secret. The finding then stays out of .secrets.baseline after make detect-secrets-scan.
    • Exception: doctest strings where the comment breaks the assertion. Rely on .secrets.baseline and audit with make detect-secrets-audit.
  • Makefile: suppress audited false positives inline with # pragma: allowlist secret. In variable assignments, append the pragma directly after the value, with no space. Make keeps whitespace before a comment in the value.
  • Markdown: inside a fenced code block, append # pragma: allowlist secret to the line. In prose, append <!-- pragma: allowlist secret -->. Rewrite the line instead when the pragma would break a sample that readers copy verbatim.
  • All other file types: regenerate the baseline with make detect-secrets-scan.
  • Merge conflicts: resolve .secrets.baseline with the version from main.

Verify

Run make detect-secrets-scan. It exits non-zero on live or unaudited findings. Remediate with make detect-secrets-audit. Done when the command exits zero and .secrets.baseline holds no entry for a line you suppressed or removed.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.