Github-Security-CodeScanning-Alerts-Skill
AGENTS.md1 starsChanged 5 months agoUnlicenseView on GitHub
Repository guidance for the GitHub security alerts management skill.
- Reads credentials
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository2 other files it gives its agents.
The file
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
13 rules. About 1 is common, 6 are distinctive, and 6 are very specific to this project.
≈1
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 13
Treat skills/github-manage-security-alerts/SKILL.md as the user-facing skill entrypoint.
- Very specific: line 14
Treat skills/github-manage-security-alerts/scripts/manage_github_security_alerts.py as the CLI entrypoint.
- Very specific: line 15
Keep helper modules in skills/github-manage-security-alerts/scripts/ stdlib-only unless a dependency is explicitly justified and documented.
- Very specific: line 16
Keep skills/github-manage-security-alerts/agents/openai.yaml, assets/, and LICENSE.txt synchronized with the packaged skill.
- Distinctive: line 20
Never put GitHub tokens in command arguments, docs examples, logs, commits, or chat output.
- Very specific: line 21
Prefer token environment variables such as GITHUB_TOKEN, GH_TOKEN, or a caller-specified --token-env.
- Very specific: line 22
Use --dry-run first for bulk updates, dismissals, reopen operations, or alert state transitions.
- Common: line 23
Do not dismiss or resolve security alerts unless the vulnerable path, secret exposure, or code scanning result has actually been reviewed.
- Distinctive: line 27
Run the narrowest useful checks after edits:
- Distinctive: line 38
Prefer clear argparse surfaces and explicit error messages.
- Distinctive: line 39
Keep API response parsing defensive.
- Distinctive: line 40
Keep docs examples copy-pasteable in PowerShell.
- Distinctive: line 41
Avoid broad repo-template changes unless the task is explicitly about repository automation or packaging.
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md 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.
Files
GitHub Security Alerts Skill Guidance
This repository packages the github-manage-security-alerts Codex/open-agent skill. Keep changes focused on the nested skill payload and the small repository automation needed to publish it.
Scope
- Treat
skills/github-manage-security-alerts/SKILL.mdas the user-facing skill entrypoint. - Treat
skills/github-manage-security-alerts/scripts/manage_github_security_alerts.pyas the CLI entrypoint. - Keep helper modules in
skills/github-manage-security-alerts/scripts/stdlib-only unless a dependency is explicitly justified and documented. - Keep
skills/github-manage-security-alerts/agents/openai.yaml,assets/, andLICENSE.txtsynchronized with the packaged skill.
Security
- Never put GitHub tokens in command arguments, docs examples, logs, commits, or chat output.
- Prefer token environment variables such as
GITHUB_TOKEN,GH_TOKEN, or a caller-specified--token-env. - Use
--dry-runfirst for bulk updates, dismissals, reopen operations, or alert state transitions. - Do not dismiss or resolve security alerts unless the vulnerable path, secret exposure, or code scanning result has actually been reviewed.
Validation
Run the narrowest useful checks after edits:
python -m compileall skills/github-manage-security-alerts/scripts
npm run release:verifyFor behavior changes, also run the relevant CLI command with --json against a safe repository or use --dry-run for mutations.
Style
- Prefer clear argparse surfaces and explicit error messages.
- Keep API response parsing defensive; validate external JSON before indexing nested fields.
- Keep docs examples copy-pasteable in PowerShell.
- Avoid broad repo-template changes unless the task is explicitly about repository automation or packaging.
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
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.

