agentleFS
NAJEMWEHBENAJEMWEHBE/operational-problem-solver/.claude/skills/problem-solver/SKILL.md

problem-solver

Skill0 starsChanged 21 days agoMITView on GitHub

solve: <problem>, or /problem-solver. Generates competing solutions in parallel, drops unstable ones at a consensus gate, ranks the rest in an ELO tournament and ships the winner. Use when a task wants several competing solutions and the best one picked.

  • Reads credentials

7 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use receiving-code-review, executing-plans and 4 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • CloudflareSkill

    receiving-code-review

    Use when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementation

    Also in 3 projects that use this

  • OpenAISkill

    executing-plans

    Use when you have a written implementation plan to execute in a separate session with review checkpoints

    Also in 3 projects that use this

  • OpenAISkill

    requesting-code-review

    Use when completing tasks, implementing major features, or before merging to verify work meets requirements

    Also in 3 projects that use this

  • MicrosoftSkill

    mcp-builder

    Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).

    Also in 3 projects that use this

  • +2 more from openai
  • Other versions7 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 7

    1. tronghieu/agent-skills★ 121same name
    2. Rune-kit/rune★ 96same name
    3. chinkan/RustFox★ 14same name
    4. I-Onlabs/claude-code-skills★ 4same name
    5. OpenxIntelligence/Coding-Agent-Skills★ 4same name
    6. bang9/claude-code-settings★ 2same name
    7. liviaerxin/promptops-dotfiles★ 0same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

The file

We split this skill into the rules it gives an agent

3 rules. 0 are common, 2 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 7 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Credentials guardrail: check only that a credential *exists*, and refer to it by name (ANTHROPIC_API_KEY).

    line 13
  2. Distinctive:

    Confirm the cost: Every call is metered: 18 API calls with the defaults (2 Crow + 4 Finch + 6 judge pairs x 2 orders on Opus), 22 with a …

    line 22
  3. Distinctive:

    Gate: if fewer than half the solutions are viable, re-prompt with what failed and re-run Phase II once.

    line 55

“Common” is measured: kept by at least 6 in 10 of the 7 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Problem solver

A tournament of competing solutions: Intelligence workers (Crow) build a Context Manifest, Execution workers (Finch) each write a standalone solution, a consensus gate drops the unstable ones, and an ELO tournament ranks the survivors. How the engine works: docs/ARCHITECTURE.md in this repo.

Credentials guardrail: check only that a credential exists, and refer to it by name (ANTHROPIC_API_KEY); its value stays out of the chat, commands, logs and files.

Path A: the ops-solve engine (prefer it)

Computes ELO in code and runs real lint and tests.

  1. Detect. ops-solve --help exits 0. If it doesn't, take Path B.
  2. Confirm the cost. Every call is metered: 18 API calls with the defaults (2 Crow + 4 Finch + 6 judge pairs x 2 orders on Opus), 22 with a re-loop. Tell the user the count and get a yes before running.
  3. Run.
    ops-solve "solve: <the problem>" --workers 4 --intel 2
    Options worth offering: --cheap (Haiku workers), --workers 3 (11 calls), --out path/to/file (--force to overwrite), and --test-cmd "pytest -q {file}" to gate on real tests. --test-cmd executes generated code, so use it only with the user's yes; {file} is the solution file name and the command runs in a private folder outside the working directory that holds a copy of the solution file.
  4. Finish line: exit code 0 and runs/<run-id>/report.json exists (the newest folder in runs/). Report the leaderboard, the WINNER/ path, the printed calls and cost, and every ! warning line.
  5. On failure:
    • exit 2, "ANTHROPIC_API_KEY is not set": no credentials. Ask the user to set the key (or ant auth login), or take Path B.
    • exit 1, "Run failed: <Type>: <message>": report the message. For RateLimitError, offer a re-run with --concurrency 2; for AuthenticationError, the key is wrong; otherwise re-run with --debug for the traceback.

Path B: subagents in this session (no engine or no key)

Spends the session's own tokens. Use the Agent tool:

  1. Phase I: 2 research subagents build the Context Manifest (dependencies, constraints, parameters, risks) for the directory and problem.
  2. Phase II: 4 independent subagents get the SAME manifest and one distinct strategy each (simplest / fastest / most robust / cleanest), and each returns a complete standalone solution.
  3. Gate: if fewer than half the solutions are viable, re-prompt with what failed and re-run Phase II once.
  4. Phase III: a judge subagent compares the solutions pairwise and returns a ranked order. This ELO is reasoned by the model, not computed; say so.
  5. Finish line: the winning solution presented with the ranking and the judge's one-line reasons.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.