solve-task

A context-gathering workflow for solving a software task. It retrieves the task and related code or tasks from a review system, summarizes the relevant information, and passes a brief to the development workflow.

In plain words
What is it for?
Use it with a task key or plain-language task description when you need the repository, task board, related work, and relevant code gathered before development begins.
Why use it?
It prevents implementation from starting with missing requirements or unrelated code context.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/mimfort/rag_for_git/solve-task
Any agent
npx skills add mimfort/rag_for_git --skill solve-task
Clone the repo
git clone --depth 1 https://github.com/mimfort/rag_for_git

Made for: Claude Code, Codex.

Per session 87 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,071 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00087 $0.02071
Opus 5 $0.00044 $0.01035
Sonnet 5 $0.00017 $0.00414
Haiku 4.5 $0.00009 $0.00207

Measured 2d ago against content hash 7b1e2eb34ca5, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

solve-task 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 2d 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.

plugin/skills/solve-task/SKILL.md · 131 lines

How it starts

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

Solve Task

Gather the right context for a task, distill it into a brief, then enter the normal development workflow. This skill does NOT plan or implement — it disciplines context-gathering and hands the brief to superpowers:brainstorming (which leads to writing-plans → subagent-driven-development, or the execution strategy chosen in the startup survey (inline / subagent / lite)).

Inputs

$ARGUMENTS is either:

  • a task key (e.g. PRI-4, matching the board's key_pattern), or
  • a free-text description (e.g. "add a logout endpoint").

Pipeline

  1. Startup: survey + Preflight (index freshness + task-corpus warm-up). Run this BEFORE anything else. First resolve, once, the repo path (git rev-parse --show-toplevel) and the working branch (git branch --show-current; if it is in REVIEW_BRANCHES use it, else the primary branch) — step 3 reuses the same branch for search_codebase.

    Resolve task_board exactly once before any board call. Read the repo .review.yml block: its task_board mapping has priority; an absent block falls back to get_board_config(); an explicit empty task_board: disables board work for this run. Keep the resolved {type, project, key_pattern, create_target, done_target, options} value and reuse this resolved value in Step 1 and every board operation. Never call the deploy fallback when the repo explicitly disables the board.

    Call prepare_task_context(repo, key, branch, warm_board=True) once here — pass the resolved key when $ARGUMENTS matches key_pattern, else board-less: pass the user's formulation verbatim as key (the tool's key parameter is required and accepts free text when no board key matches). It folds the manual round trips below into one deterministic call and returns a single payload: preflight (branch, indexed_sha, drift, summaries, chunks, graph_nodes — feeds Step 0.1/0.4 below), task_board/task (feeds Step 2), related/subsystems/code/test_exemplars (feeds Step 3), gaps (a list of {section, reason, cause, cause_detail, remedy} — branch on cause, the machine-readable class, not the prose reason; cause_detail refines it INSIDE the class (auth_failed | missing_database | null) and decides the wording of Step 0a; copy every entry into Constraints / open questions in the Step 4 brief verbatim) and warnings (surface to the user). No source failure raises — a failed section just adds a gaps entry, so the steps below stay fail-open.

Read the full file on GitHub · 131 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. 2d ago First seen · 131 lines · 87 tokens per session scan A 7b1e2eb34ca5

Subscribe to this mod's changes

solve-task is a skill published in the GitHub repository mimfort/rag_for_git (21 stars, last pushed 2d ago), licensed MIT. It adds 87 tokens to every session and 2,071 once invoked, about $0.0004 per session on Opus 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

demo-write-user-stories

Reference implementation that writes functional user stories from a feature description, optionally grounded in an approved CEP context package per CONSUMING-CONTEXT-PACKAGE.md, with per-story citations and the standard tag/reverse-index loop. A worked example for downstream teams building their own context-consuming…

linkpranay-ai/context-engineering-protocol · 64 tokens

coograph-new-ticket

Start work on a new ticket. Runs pre-flight checks, investigates the codebase, and flows into OpenSpec proposal. Use when the user pastes a ticket, issue, or task description.

paullukic/coograph · 44 tokens

babysit

Same-session monitoring loop for PRs, CI runs, tickets, and deployments using the monitorstart / monitorupdate / autonudgestop MCP tools. The loop re-injects your check instructions into THIS session on an idle interval — same context, same tools — and works from dashboard chat, Slack threads, and Discord DMs. Use…

kirodotdev/KiroCrew · 137 tokens

agile-product-owner

../../../product-team/agile-product-owner/skills/agile-product-owner/SKILL.md.

alirezarezvani/claude-skills · 0 tokens

teamharness-task-delegation

Use when a Leader turns ready Quick Task or Project Work state into Worker task instructions, sends assignment messages, checks submitted results, and defines completion/blocker report contracts. Do not use to create projects, create rooms, or execute Worker tasks.

agentscope-ai/AgentTeams · 56 tokens

gsd-executor

Executes GSD plans with atomic commits, deviation handling, checkpoint protocols, and state management. Spawned by execute-phase orchestrator or execute-plan command.

allgpt-co/QuickVoice · 36 tokens