ptns
Skill1 starsChanged 56 days agoMITView on GitHub
Prompt to new session — hand the current progress to a fresh session as one short prompt, delivered by session-to-session message on Claude Code, or as a copyable block elsewhere.
In this repository12 other files it gives its agents.
- cloud-architectSkill
- design-code-implementSkill
- dont-know-howSkill
- grill-softlySkill
- implement-allSkill
- implement-small-changeSkill
- implSkill
- refactorSkill
- scrumSkill
- show-grill-clearlySkill
- sibSkill
- torture-gentlySkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
14 rules. About 0 are common, 10 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈10
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 9
Write a handoff prompt: another session starts with nothing but these words.
- Distinctive: line 11
If the user passed an argument, it names the focus of the next session.
- Very specific: line 25
Leave out what the next session can find in one lookup (git log, file contents, --help).
- Distinctive: line 29
Write it in the language the user is using.
- Distinctive: line 32
Keep paths, symbols, and commands exact.
- Distinctive: line 33
Keep it short: every line is something the next session would otherwise have to rediscover or ask.
- Distinctive: line 34
Start with the working directory the next session should be in.
- Distinctive: line 46
Do not ask the user which agent they are on.
- Very specific: line 50
Call ListAgents to list the sessions that can be reached.
- Very specific: line 52
Ask which one to send to, using AskUserQuestion when there are 2–4 choices.
- Distinctive: line 53
If the list is empty, say so in one line and fall back to 3b.
- Very specific: line 54
After the user answers, SendMessage the handoff prompt to the chosen session, using the name exactly as ListAgents printed it.
- Distinctive: line 57
Never send before the user has answered, and never guess the target session.
- Distinctive: line 61
Put the whole prompt in one fenced code block so it copies in one go.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Prompt to New Session
Write a handoff prompt: another session starts with nothing but these words. Write for that cold reader.
If the user passed an argument, it names the focus of the next session; shape the prompt around it.
1. Gather the state
Collect from this conversation, and check the environment for anything it can confirm:
- The goal, in one sentence.
- What is done, and how each piece was verified. Mark anything unverified as unverified.
- The current state: branch, uncommitted changes, anything running or half-finished.
- The next step, concrete enough to start on.
- Decisions made and the reason for each, so the next session does not reopen them.
- Dead ends already tried, and gotchas found the hard way.
- The exact files, symbols, and commands the next step touches.
Leave out what the next session can find in one lookup (git log, file contents, --help). Keep what it cannot: the reasons, the dead ends, the unwritten conventions.
2. Write the prompt
Write it in the language the user is using.
- Address the next session directly, in the imperative ("Continue…", "Next, …").
- Keep paths, symbols, and commands exact.
- Keep it short: every line is something the next session would otherwise have to rediscover or ask.
- Start with the working directory the next session should be in.
- End with the next step and how to tell it is done.
Done when a cold reader could start the next step without asking a single question.
3. Deliver it
First decide which agent is running this skill:
- Claude Code — the
ListAgentsandSendMessagetools exist. Follow 3a. - Anything else (Codex, agy, or any agent without those tools) — follow 3b.
Do not ask the user which agent they are on; check the tools you actually have.
3a. Claude Code — send it to a live session
- Call
ListAgentsto list the sessions that can be reached. - Show the user the reachable sessions as a short numbered list: name, kind, and working directory when known. Leave out this session itself.
- Ask which one to send to, using
AskUserQuestionwhen there are 2–4 choices. Always include a "Do not send — just show me the prompt" option; if the user picks it, fall back to 3b. - If the list is empty, say so in one line and fall back to 3b.
- After the user answers,
SendMessagethe handoff prompt to the chosen session, using the name exactly asListAgentsprinted it. - Reply with one line naming which session it went to. Do not reprint the whole prompt.
Never send before the user has answered, and never guess the target session.
3b. Other agents — hand over a copyable block
Put the whole prompt in one fenced code block so it copies in one go.
Reply with the code block and nothing else, unless something the prompt depends on is uncertain; then add one line after the block naming it.
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
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.

