PoseCap: Skill for Codex

.agents/skills/ad-tdg/SKILL.md

ad-tdg is a skill for Codex from CorridorTech/PoseCap. It costs 136 tokens per session (1,889 once invoked), scanned A, original, Apache-2.0.

An implementation-planning method that starts with the desired result and tests possible ways to reach it. It uses a known technique, a target example, and a map of which parts need checking.

In plain words
What is it for?
Use it to plan and implement changes with multiple plausible strategies, compare three approaches, define expected output, and record the reasoning in a commit or task log.
Why use it?
It helps when the goal is clear but several implementation choices could work. The checks make it easier to choose one approach and verify the finished result.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions Claude Code; installed under .agents/ (shared by several agents); mentions Codex.

This is CorridorTech/PoseCap's own configuration. It tells Codex how to work on PoseCap itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything PoseCap configures →

Reuse

Borrowing it

Nothing to install: this file belongs to CorridorTech/PoseCap. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/CorridorTech/PoseCap/main/.agents/skills/ad-tdg/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/CorridorTech/PoseCap

Made for: 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 ad-tdg

README.md
[![agentmods](https://agentmods.dev/badge/skills/corridortech/posecap/ad-tdg/github.svg)](https://agentmods.dev/skills/corridortech/posecap/ad-tdg)
Your own site
<a href="https://agentmods.dev/skills/corridortech/posecap/ad-tdg"><img src="https://agentmods.dev/badge/skills/corridortech/posecap/ad-tdg/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 ad-tdg

Your own site · 80×15
<a href="https://agentmods.dev/skills/corridortech/posecap/ad-tdg"><img src="https://agentmods.dev/badge/skills/corridortech/posecap/ad-tdg.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 136 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,889 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 44
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
How audits are shown
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.00136 $0.01889
Opus 5.5 $0.00054 $0.00756
Sonnet 5.5 $0.00027 $0.00378
Haiku 4.5 $0.00014 $0.00189

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

Security

Grade A, and why

ad-tdg 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 2mo 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.

.agents/skills/ad-tdg/SKILL.md · 111 lines

How it starts

The opening of the file, as written. The whole thing — 111 lines — stays where its author put it; the contents beside it link to each section on GitHub.

<background_information> Implements WORKFLOW.md §9 (Outcome-Based Prompting / Test Dependency Map) end-to-end. The skill is for the implementation phase when the canonical technique is known and multiple implementation strategies are plausible. WORKFLOW §14 (ad-spike) covers the technique-unknown regime; §9 (this skill) covers the implementation-strategy-uncertain regime.

No file is written. The output of the skill is the verified implementation that lands in the repo through normal commits. The ground-truth pair, candidate set, selection criterion, and TDM list go into the commit message body — or the task's Notes log when one exists — not into a separate doc/ artifact.

Codex auto-trigger on description keywords is less mature than Claude Code's. If auto-invocation does not fire when the user mentions outcome-based prompting, ground truth, three approaches, or a Test Dependency Map, invoke this skill manually. </background_information>

Route elsewhere when:

  • The technique itself is uncertain across multiple plausible approaches → ad-spike (WORKFLOW §14). Spike validates technique with golden fixture + per-stage debug; TDG validates implementation with ground-truth pair + TDM.
  • The path is fully obvious (one-line fix, mechanical refactor, byte-for-byte port) → TDG is overkill; proceed directly without the skill.
  • No tests cover the surface and the project does not yet have a test runner wired → consider ad-hooks for project gates first; TDG depends on a verifiable green baseline.

Step 1 — ground truth pair. State raw input + exact expected output before any code is written. Concrete, not aspirational. The pair is the contract the implementation must satisfy.

Format depends on the surface:

  • For pure functions: input arguments + expected return value, as code-block or JSON.
  • For data transformations: source data + transformed data, side-by-side.
  • For CLI / API surfaces: request payload + response payload, as paste-ready examples.
  • For UI changes: pre-state DOM / screenshot + post-state DOM / screenshot.

Example (pure function):

Input: parse('--agent claude-code --yes')
Expected output: { agent: 'claude-code', yes: true, dryRun: false, force: false }

The pair is small, explicit, and verifiable. Aspirational language ("loads fast", "handles all edge cases") is not ground truth — concrete examples are.

Step 2 — Test Dependency Map (TDM). List the tests covering the file(s) the change will touch. Run them to establish the green baseline. If no tests cover the surface, write one first that exercises the current behavior before any modification.

Process:

  1. Grep for tests referencing the file by import path: grep -r 'from.*<file>' test/ tests/.
  2. Grep for tests referencing the function or symbol: grep -r '<symbol>' test/ tests/.
  3. Run the matched tests in isolation to confirm green: npx node --test test/<matched>.test.js or equivalent for the language.
  4. If empty: write a test that asserts the current behavior. Run. Confirm green. Then proceed to Step 3.

The TDM is the verification surface — Step 5's "implement + verify" loop runs these tests, not the full suite, so the feedback loop stays under a few seconds. Full-suite runs happen at commit-time via the project's pre-push hook (ad-hooks).

Step 3 — three approaches. Generate three implementation candidates that produce the ground-truth pair. Each candidate names trade-offs along the §9 axes:

Approach A: <name / one-line description>
  - readability: <high / medium / low + reason>
  - performance: <O(...), bytes allocated, etc.>
  - testability: <surface area, mockability, isolation>

Approach B: <name / one-line description>
  - readability: ...
  - performance: ...
  - testability: ...

Approach C: <name / one-line description>
  - readability: ...
  - performance: ...
  - testability: ...

Read the full file on GitHub · 111 lines

Files

What ships with it

1 file 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.

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. 2mo ago First seen · 111 lines · 136 tokens per session scan A fedda0a23ca6

Subscribe to this mod's changes

ad-tdg is a skill published in the GitHub repository CorridorTech/PoseCap (265 stars, last pushed 3d ago), licensed Apache-2.0. It adds 136 tokens to every session and 1,889 once invoked, about $0.0005 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-30.

Related

Other skills, from other repositories

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens