PoseCap: Skill for Codex

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

ad-spike is a skill for Codex from CorridorTech/PoseCap. It costs 128 tokens per session (1,379 once invoked), scanned C, original, Apache-2.0.

A staged investigation for cases where the desired result is clear but the best technical method is not. It tests competing methods with sample inputs, checkpoints, and separate stage-by-stage and final evaluation.

In plain words
What is it for?
Use it to compare materially different techniques, build a representative test case, inspect each pipeline stage, and decide which method to use.
Why use it?
It avoids committing early to an unproven approach and makes failures easier to locate. The temporary investigation can end with a recorded decision or be discarded.

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-spike/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-spike

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/corridortech/posecap/ad-spike"><img src="https://agentmods.dev/badge/skills/corridortech/posecap/ad-spike.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 128 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,379 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00128 $0.01379
Opus 5.5 $0.00051 $0.00552
Sonnet 5.5 $0.00026 $0.00276
Haiku 4.5 $0.00013 $0.00138

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

Security

Grade C, and why

ad-spike scanned grade C with 1 finding 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

- Delete the spike directory: `rm -rf spikes/NNNN-<slug>/`.
.agents/skills/ad-spike/SKILL.md · 91 lines

How it starts

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

<background_information> Implements WORKFLOW.md §14 (Staged Spikes With Golden Fixtures) end-to-end. The skill is for cases where the spec is clear but the technique is uncertain across multiple plausible approaches. WORKFLOW §9 (TDG) assumes the path is known and validates end-to-end; §14 assumes the path is unknown and validates per stage.

The skill creates spikes/NNNN-<slug>/ and fills it stage-by-stage. The directory is throwaway by design — when the spike concludes, an ADR records the decision and the spike directory is deleted (promote-or-delete lifecycle' '

Codex auto-trigger on description keywords is less mature than Claude Code's. If auto-invocation does not fire when the user mentions an uncertain technique or asks to evaluate approaches, invoke this skill manually. </background_information>

Tests:

  • Could ad-ground's four-source research surface a single happy path with a defensible deviation gate? If yes, run that instead.
  • Are there ≥2 candidate techniques with materially different trade-offs that no source resolves? If no, this is not a spike.
  • Is end-to-end validation feasible without per-stage debug? If yes, this is ad-task + ad-philosophy Goal-Driven Execution territory.

If spike warranted, confirm the recortte with the user and proceed.

Step 1 — discovery. List canonical approaches grounded in official docs and real examples. Pick one (or ≤3) by an explicit criterion.

Process:

  • Search official documentation. Cite URL + version.
  • Search public implementation references (open-source repos, Stack Overflow / forum answers, blog posts, gists) for solutions to the same recortte. Cite <source>:<locator> — <repo>:<path>:<line-range> for repos, <URL> for Stack Overflow / blog / gist — and fetch via tools; never paraphrase from training memory.
  • Survey in-repo for analogous patterns. Cite <file>:<line> or "no analog found".
  • Survey git history for prior attempts. Cite <commit-sha> or "no prior attempt".

Output: candidate-list markdown with techniques, sources, trade-offs, selection criterion, picked technique. NO code yet. User reviews before Step 2.

Step 2 — golden fixture. Curate inputs with rich expected outputs. JSON keyed by input path (recommended). Include edge cases (low light, partial occlusion, malformed inputs, large inputs, empty inputs) and difficulty tags.

Create the spike directory:

mkdir -p spikes/NNNN-<slug>/{fixtures,debug,eval}

NNNN = next 4-digit number after highest existing under spikes/.

The fixture is the contract the pipeline validates against. Treat like spec text — should not change once the spike runs unless ground truth changes.

Step 3 — pipeline with gates. One technique per stage. Each stage emits a debug artifact making its output inspectable.

Layout:

spikes/NNNN-<slug>/
├── README.md          # spike framing (Step 1 output)
├── fixtures/          # golden inputs + expected outputs
├── pipeline/          # one file per stage (01-preprocess, 02-detect, etc)
├── debug/             # per-stage debug artifacts (image / JSON / log row)
└── eval/              # evaluation results (Step 4)

Each stage takes (input, context), returns (output, debug-record). Debug-record written to debug/NN-<stage>/. Pipeline halts and reports stage on first divergence.

Step 4 — two-layer evaluation:

  • End-to-end: pass rate against fixture inputs.
  • Per-stage: for each input, where did pipeline diverge?

Output to spikes/NNNN-<slug>/eval/results.json:

{
  "fixture": "fixtures/golden.json",
  "end_to_end": { "total": 10, "passed": 7, "failed": 3 },
  "per_stage": { "01-preprocess": { "passed": 10, "failed": 0 }, ... },
  "failures": [{ "input": "...", "diverged_at": "02-detect", "debug_artifact": "..." }]
}

Per-stage layer is what makes the spike actionable.

Read the full file on GitHub · 91 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 · 91 lines · 128 tokens per session scan C 0be06466fe3d

Subscribe to this mod's changes

ad-spike is a skill published in the GitHub repository CorridorTech/PoseCap (265 stars, last pushed 3d ago), licensed Apache-2.0. It adds 128 tokens to every session and 1,379 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). 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