Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add 26zl/cybersec-toolkit --skill codeqlgit clone --depth 1 https://github.com/26zl/cybersec-toolkitWrote 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.
[](https://agentmods.dev/skills/26zl/cybersec-toolkit/codeql)<a href="https://agentmods.dev/skills/26zl/cybersec-toolkit/codeql"><img src="https://agentmods.dev/badge/skills/26zl/cybersec-toolkit/codeql/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/26zl/cybersec-toolkit/codeql"><img src="https://agentmods.dev/badge/skills/26zl/cybersec-toolkit/codeql.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00176 | $0.04302 |
| Opus 5.5 | $0.00070 | $0.01721 |
| Sonnet 5.5 | $0.00035 | $0.00860 |
| Haiku 4.5 | $0.00018 | $0.00430 |
Grade A, and why
codeql 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 16d 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.
This is a copy
89% identical to codeql — 225 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 297 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CodeQL Analysis
Supported languages: Python, JavaScript/TypeScript, Go, Java/Kotlin, C/C++, C#, Ruby, Swift.
Skill resources: Reference files and templates are located at {baseDir}/references/ and {baseDir}/workflows/.
Essential Principles
-
Database quality is non-negotiable. A database that builds is not automatically good — a cached build extracts nothing while reporting success.
-
Data extensions catch what CodeQL misses. Django, Spring, and Express projects still wrap database calls, request parsing, and shell execution in project-specific APIs that no shipped model covers.
-
Explicit suite references prevent silent query dropping. Never pass pack names to
codeql database analyze— each pack'sdefaultSuiteFileapplies hidden filters that can produce zero results. Always generate a.qls. -
Zero findings needs investigation, not celebration. It can mean poor extraction, missing models, the wrong packs, or suite filtering. Run
{baseDir}/scripts/check_db_quality.pyafter the build, confirm{baseDir}/scripts/verify_query_suite.pyexited zero for the suite in use — the generation scripts run it, so invoke it by hand only for a reused or hand-edited suite — and say in the report that both passed. -
macOS Apple Silicon requires workarounds for compiled languages. Exit code 137 is an
arm64e/arm64mismatch, not a build failure. Try Homebrew arm64 tools or Rosetta before falling back tobuild-mode=none. -
Follow workflows step by step. Each phase gates the next; skipping quality assessment or data extensions leaves the gap invisible in the results.
Each Bash call is a fresh shell
Nothing carries across a Bash call: not variables, not arrays, not functions sourced from
build_log.sh. Every block below that uses a value must re-establish it in the same block.
The workflows point back here rather than repeating it; what they do state is the specific
damage at that site, because each one fails differently and silently:
What ships with it
31 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- references/build-fixes.md 3.2 KB
- references/diagnostic-query-templates.md 9.5 KB
- references/extension-yaml-format.md 7.4 KB
- references/important-only-suite.md 5.1 KB
- references/language-details.md 5.7 KB
- references/macos-arm64e-workaround.md 7.3 KB
- references/performance-tuning.md 2.8 KB
- references/quality-assessment.md 7.8 KB
- references/ruleset-catalog.md 2.1 KB
- references/run-all-suite.md 5.4 KB
- references/sarif-processing.md 3.0 KB
- references/threat-models.md 2.7 KB
- scripts/build_log.sh 2.1 KB runs code
- scripts/check_db_quality.py 15 KB runs code
- scripts/find_databases.sh 2.5 KB runs code
- scripts/generate_suite.sh 3.3 KB runs code
- scripts/pyproject.toml 585 B
- scripts/test_build_log.py 3.2 KB runs code
- scripts/test_build_mode_claims.py 3.6 KB runs code
- scripts/test_check_db_quality.py 20 KB runs code
- scripts/test_find_databases.py 6.0 KB runs code
- scripts/test_generation_scripts.py 12 KB runs code
- scripts/test_script_flags.py 6.3 KB runs code
- scripts/test_section_pointers.py 7.9 KB runs code
- scripts/test_shell_blocks.py 29 KB runs code
- scripts/test_suite_templates.py 5.0 KB runs code
- scripts/test_verify_query_suite.py 1.9 KB runs code
- scripts/verify_query_suite.py 2.7 KB runs code
- workflows/build-database.md 13 KB
- workflows/create-data-extensions.md 10 KB
- workflows/run-analysis.md 13 KB
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.
- 16d ago Changed · +25 lines · +74 tokens per session 8f774e6b3ef4
- 2mo ago First seen · 272 lines · 102 tokens per session scan A 6b8899d4fdbc
codeql is a skill published in the GitHub repository 26zl/cybersec-toolkit (114 stars, last pushed today), licensed MIT. It adds 176 tokens to every session and 4,302 once invoked, about $0.0007 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 89% identical to codeql, differing in 225 lines, and is treated as a copy.
codeql compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| codeql26zl/cybersec-toolkit | Skill | 114 | today | MIT | A | 176 | Claude Code |
| spring-securityroodlicht/accans-sec-skills | Skill | 4 | 6mo ago | none | A | 65 | Claude Code, Codex |
| mobile-pentestAwarexone/Agentic-Bug-Hunter | Skill | 6.1k | 19d ago | MIT | A | 205 | Claude Code |
| performing-api-inventory-and-discoveryxalgorix/xalgorix | Skill | 1.5k | 2d ago | Apache-2.0 | A | 100 | Claude Code, Codex |
| detecting-compromised-cloud-credentialsxalgorix/xalgorix | Skill | 1.5k | 2d ago | Apache-2.0 | A | 55 | Claude Code, Codex |
| remediating-s3-bucket-misconfigurationxalgorix/xalgorix | Skill | 1.5k | 2d ago | Apache-2.0 | A | 77 | Claude Code, Codex |
| securing-azure-with-microsoft-defenderxalgorix/xalgorix | Skill | 1.5k | 2d ago | Apache-2.0 | A | 75 | Claude Code, Codex |