agentleFS
LarryStanleyLarryStanley/pi-delegate/skills/discuss/SKILL.md

discuss

Skill4 starsChanged 3 months agoMITView on GitHub

Think a problem through with pi as a second opinion, over as many turns as it takes

24 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use resume, ask and 5 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.
  • genomewalkerSkill

    resume

    Resume a thread by loading its ~800-token context capsule

    Also in 3 projects that use this

  • agenticnotetakingSkill

    ask

    Query the bundled research knowledge graph for methodology guidance. Routes questions through a 3-tier knowledge base — WHY (research claims), HOW (guidance docs), WHAT IT LOOKS LIKE (domain examples) — plus structured reference documents. Returns research-backed answers grounded in specific claims with practical application to the user's system. Triggers on "/ask", "/ask [question]", "why does my system...", "how should I...".

    Also in 3 projects that use this

  • DockerSkill

    research

    Research a documentation topic — locate affected files, understand the problem, identify what to change. Use when investigating an issue, a question, or a topic before writing a fix. Triggers on: "research issue 1234", "investigate what needs changing for #500", "what files are affected by #200", "where is X documented", "is our docs page about Y accurate", "look into how we document Z".

    Also in 5 projects that use this

  • BlockSkill

    plan

    Draft a TDD, PRD, or lightweight plan in the conversation without committing it.

    Also in 4 projects that use this

  • AnthropicSkill

    verify

    Drive the contracts engine's runtime surface (the stdio MCP server) to verify changes end-to-end. Scoped to public-plugins/plugins/healthcare/skills/contracts/ and ../../servers/documents/.

    Also in 3 projects that use this

  • Hugging FaceSkill

    implement

    Make tests pass. Invoke after /write-tests produces failing tests.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 23 edited versions we read keep these.

  • 3

    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. Distinctive:

    Not a delegation and not a review — a conversation.

    line 8
  2. Distinctive:

    Write a task book to a temp file.

    line 18
  3. Very specific:

    Keep the session_id. To continue, dispatch again with resume_session_id set to it — pi keeps the previous turns, so the new task book …

    line 51
  4. Distinctive:

    If pi is simply wrong, say that too.

    line 74

“Common” is measured: kept by at least 6 in 10 of the 23 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

The user wants to talk through: $ARGUMENTS

Not a delegation and not a review — a conversation. pi writes nothing at all here; the output is what it thinks, and the reason to want that is simply that it is a different model and will not have made the same assumption you did.

Which means the one way to waste this: asking a question you already know the answer to and reporting agreement. Use it where you are genuinely unsure, or where you want your own reasoning attacked.

The first turn

Write a task book to a temp file. Put the real question in it, along with the paths of any files that matter — pi can read them, and a question about code it cannot see gets you an answer about code in general:

DIR=$(mktemp -d)
cat > "$DIR/TASK.md" <<'EOF'
<the question, in full, with the constraints that actually bind>

Relevant files: <paths, or "none">

Answer in under 800 characters. Do not write or modify any file. If you disagree with a
premise in the question, say that first — it is more useful than answering the question as
asked.
EOF
echo "$DIR"

Dispatch with pi_dispatch: task_file="$DIR/TASK.md", cwd = the repo root, tools="read", mode="sync".

tools="read" with no write and no edit — there is nothing to write, and a discussion that quietly edits a file is not a discussion.

The 800-character limit is not only context economy. A model given room to monologue will fill it, and length reads as confidence whether or not any is warranted. A short answer is easier to disagree with, which is the point.

pi's reply comes back as the verdict's last_message. If it says it was truncated, get the rest with pi_transcript session_id=<id> filter=text — that reply is budgeted too.

Following up

Keep the session_id. To continue, dispatch again with resume_session_id set to it — pi keeps the previous turns, so the new task book carries only the new message, not a re-statement of everything so far:

pi_dispatch(task_file=<new temp TASK.md>, cwd=<repo root>, tools="read",
            mode="sync", resume_session_id="<the id>")

Resuming is refused while a dispatch is still running, and refused for an id that was never dispatched — in both cases loudly, with the valid ids listed. A silent fresh session would mean a perfectly fluent answer from something that had forgotten the conversation.

Between turns, put the disagreement to it rather than the next question. "You assumed X; here is why X does not hold" gets further in one turn than three rounds of clarification.

Reporting back

Give the user pi's actual position, not a summary that sands off the disagreement. If pi contradicts you, say so plainly and say which of you you think is right and why — that judgment is the thing you are for, and hiding a disagreement behind "pi suggests considering..." wastes the whole exchange.

If pi is simply wrong, say that too. A second opinion is worth having partly because it can be checked, and a check you never report is a check you did not do.

What this is not

It does not carry over into a dispatch. If the conversation lands on a plan, that plan becomes a task book, written deliberately — pi's discussion session is not an instruction to itself, and treating a conversation as an implicit contract is how a dispatch ends up building something nobody agreed to.

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.