skill-039

skill-039 is a skill for Claude Code, Codex from legendtkl/agentic-skill-router. It costs 37 tokens per session (342 once invoked), scanned A, original, MIT.

A security-analysis tool for finding stack and heap buffer overflows in compiled programs. A buffer overflow happens when a program writes more data into memory than the reserved space can hold.

In plain words
What is it for?
Use it to trace input from networks, files, or users to risky memory operations, assess whether an overflow could be exploited, and produce findings with severity, evidence, and possible fixes.
Why use it?
It helps identify memory-corruption bugs caused by unsafe copying, missing size checks, off-by-one errors, or integer overflows before they can be exploited.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to trace input from networks, files, or users to risky memory operations, assess whether an overflow could be exploited, and produce findings with severity, evidence, and possible fixes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/legendtkl/agentic-skill-router/skill-039
Install

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.

Any agent
npx skills add legendtkl/agentic-skill-router --skill skill-039
Clone the repo
git clone --depth 1 https://github.com/legendtkl/agentic-skill-router

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for skill-039

README.md
[![agentmods](https://agentmods.dev/badge/skills/legendtkl/agentic-skill-router/skill-039/github.svg)](https://agentmods.dev/skills/legendtkl/agentic-skill-router/skill-039)
Your own site
<a href="https://agentmods.dev/skills/legendtkl/agentic-skill-router/skill-039"><img src="https://agentmods.dev/badge/skills/legendtkl/agentic-skill-router/skill-039/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.

agentmods 80×15 button for skill-039

Your own site · 80×15
<a href="https://agentmods.dev/skills/legendtkl/agentic-skill-router/skill-039"><img src="https://agentmods.dev/badge/skills/legendtkl/agentic-skill-router/skill-039.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 342 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00037 $0.00342
Opus 5.5 $0.00015 $0.00137
Sonnet 5.5 $0.00007 $0.00068
Haiku 4.5 $0.00004 $0.00034

Measured 3mo ago against content hash 78a4f1849316, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

skill-039 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 3mo 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.

experiments/dci-compare/skillrouter-skills/skill-039/SKILL.md · 37 lines

What it actually says

Buffer Overflow Detection

Detection Workflow

  1. Identify dangerous function calls: strcpy, strcat, sprintf, gets, memcpy without size checks
  2. Trace data flow: Use xrefs_to from input sources (network, files, user input) to sinks
  3. Verify bounds checking: For each copy operation, check if source size is validated and destination buffer is sufficient
  4. Assess exploitability: Can attacker control overflow size? Is there controlled write to critical memory?

Key Patterns

  • Stack overflow: Unbounded copy to local buffer
  • Heap overflow: Malloc followed by unchecked write
  • Off-by-one: Loop condition or bounds check error
  • Integer overflow leading to buffer overflow

Output Format

Report with: id, type (stack/heap/static), severity, confidence, location, sink, source, buffer size, overflow potential, evidence, exploitability, mitigation.

Severity Guidelines

  • CRITICAL: Unbounded copy to stack buffer, attacker-controlled size
  • HIGH: Bounded copy with insufficient checks, off-by-one errors
  • MEDIUM: Potential overflow with limited attacker control
  • LOW: Unlikely to be exploitable, theoretical only

See Also

  • patterns.md - Detailed detection patterns and exploitation scenarios
  • examples.md - Example analysis cases and code samples
  • references.md - CWE references and mitigation strategies
Changes

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.

  1. 3mo ago First seen · 37 lines · 37 tokens per session scan A 78a4f1849316

Subscribe to this mod's changes

skill-039 is a skill published in the GitHub repository legendtkl/agentic-skill-router (8 stars, last pushed 6mo ago), licensed MIT. It adds 37 tokens to every session and 342 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

skill-039 compared with skills from other repositories

skill-039 next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
skill-039legendtkl/agentic-skill-routerSkill86mo agoMITA37Claude Code, Codex
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill82ktodayMITA200Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill102ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill396ktodayMITA36Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15ktodayCC0-1.0A113Claude Code, Codex
systematic-debuggingobra/superpowersSkill333k7d agoMITA21Claude Code