trapstreet-solution-scaffold

trapstreet-solution-scaffold is a skill for Claude Code, Codex from trapstreet/trapstreet-skills. It costs 211 tokens per session (4,334 once invoked), scanned C, original, MIT.

Um gerador de estrutura para soluções enviadas a tarefas do trapstreet.run, uma plataforma com desafios de programação e ranking público.

In plain words
What is it for?
Serve para criar ou adaptar uma solução Python, gerar o arquivo de configuração exigido e preparar o repositório para execução e envio, respeitando as confirmações necessárias.
Why use it?
Reduz erros no formato dos arquivos, nas credenciais e nas regras que podem impedir uma solução de ser executada ou aparecer no ranking.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code.

Good fit Serve para criar ou adaptar uma solução Python, gerar o arquivo de configuração exigido e preparar o repositório para execução e envio, respeitando as confirmações necessárias.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/trapstreet/trapstreet-skills/trapstreet-solution-scaffold
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 trapstreet/trapstreet-skills --skill trapstreet-solution-scaffold
Clone the repo
git clone --depth 1 https://github.com/trapstreet/trapstreet-skills

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 trapstreet-solution-scaffold

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/trapstreet/trapstreet-skills/trapstreet-solution-scaffold"><img src="https://agentmods.dev/badge/skills/trapstreet/trapstreet-skills/trapstreet-solution-scaffold.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 211 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,334 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 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.00211 $0.04334
Opus 5 $0.00105 $0.02167
Sonnet 5 $0.00042 $0.00867
Haiku 4.5 $0.00021 $0.00433

Measured 11d ago against content hash 3b170e17c996, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade C, and why

trapstreet-solution-scaffold scanned grade C with 2 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 11d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/check_provenance.py, scripts/scaffold_solution.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -s https://trapstreet.run/api/tasks/<slug> | python3 -m json.tool

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s https://trapstreet.run/api/tasks/<slug> | python3 -m json.tool
trapstreet-solution-scaffold/SKILL.md · 302 lines

How it starts

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

trapstreet-solution-scaffold

Scaffolds a trap-cli solution directory for a task on trapstreet.run, and helps diagnose the real submission failures this ecosystem produces. Built from repeated real incidents, not theory -- every gotcha below actually happened.

tp missing, or tp auth status shows no valid pairing? Hand off to trapstreet-setup first -- everything below assumes tp already runs.

Ground rules

  • Never read the task's expected/, judge.py, or grader.py to construct or embellish an answer -- only the IO-contract part of traptask.yaml (inputs/outputs shape) is fair game, and only as much of it as writing the adapter/solution.py actually requires.
  • tp run/tp submit pause on two confirmation gates -- remote-source (about to execute code pulled from a repo) and unanchored (no git provenance, won't rank). Both are the user's call, never yours: explain the consequence in plain words, recommend an answer, let them decide (see "Gates and consent" below). Never pass --trust-remote/--allow-unanchored on your own initiative.
  • Never submit to the public leaderboard without the user's explicit go-ahead on that specific submission -- a prior yes does not carry forward to the next run.

Before writing anything: interview

  1. Which task, and where does it live? A local path (most common when the task repo is checked out nearby), a git+URL, or a trapstreet.run task page (https://trapstreet.run/tasks/<slug>). For the trapstreet.run case, resolve it via the public API rather than fetching the page itself -- faster, more reliable, and doesn't depend on page layout or content-blob parsing:
    curl -s https://trapstreet.run/api/tasks/<slug> | python3 -m json.tool
    # -> task.latest.{repo_url, commit_sha, repo_path}
    
    Assemble git+<repo_url>@<commit_sha>#subdirectory=<repo_path> yourself from those three fields -- don't scrape the task's web page for this, and don't ask the user to copy a git URL off it by hand. If local, you'll need the exact relative path from wherever each trap.yaml ends up -- get this right per-file (see Layout below), since a wrong relative depth is a common mistake.
  2. Which of the three starting points is this? (see below) -- from scratch, wrapping an existing solution.py, or adapting an existing external project. This determines whether the scaffold script writes a template solution.py for you or leaves that part to you.
  3. One model, or several to compare? This determines the layout (see below). If several: which providers/models exactly?
  4. API keys, then model IDs. Before verifying anything, confirm the user actually has an API key for each provider in play -- ask directly if unsure; don't assume .env has real values just because .env.example exists. A missing key isn't obvious until solution.py crashes on a bare KeyError at runtime, so catch it here instead of there. If it's missing, point to where to get one and pause until the user has it:

Read the full file on GitHub · 302 lines

Files

What ships with it

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

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. 11d ago First seen · 302 lines · 211 tokens per session scan C 3b170e17c996

Subscribe to this mod's changes

trapstreet-solution-scaffold is a skill published in the GitHub repository trapstreet/trapstreet-skills (5 stars, last pushed 16d ago), licensed MIT. It adds 211 tokens to every session and 4,334 once invoked, about $0.0011 per session on Opus 5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

iris-eval

Evaluate AI agent output quality, safety, and cost using the Iris MCP server. Use when building, testing, or shipping agents and the user wants to score output quality, detect PII or prompt injection, verify citations, track cost per query, enforce cost budgets, add tracing/observability to an agent, or set up…

iris-eval/mcp-server · 96 tokens

agent-evaluation-v2

Agent Evaluation workflow skill. Use this skill when the user needs Testing and benchmarking LLM agents including behavioral testing, and the operator should preserve the upstream workflow, copied support files, and provenance before merging or handing off.

diegosouzapw/awesome-omni-skills · 49 tokens

agent-evaluation

Agent Evaluation workflow skill. Use this skill when the user needs Testing and benchmarking LLM agents including behavioral testing, and the operator should preserve the upstream workflow, copied support files, and provenance before merging or handing off.

diegosouzapw/awesome-omni-skills · 47 tokens

agent-evaluation-v3

Agent Evaluation workflow skill. Use this skill when the user needs Testing and benchmarking LLM agents including behavioral testing, and the operator should preserve the upstream workflow, copied support files, and provenance before merging or handing off.

diegosouzapw/awesome-omni-skills · 49 tokens

subagent-driven-development

Execute plans via delegatetask subagents (2-stage review).

NousResearch/hermes-agent · 17 tokens

duckduckgo-search

Free keyless web, news, and image search via ddgs.

NousResearch/hermes-agent · 19 tokens