make-plan
Skill34 starsChanged 7 months agoMITView on GitHub
Use when the user wants to create a new cryochamber application, set up a scheduled agent task, or scaffold a cryo project with plan.md and cryo.toml
- Reads credentials
- Commits and pushes
7 other projects use a version of this.
Adopted by
Most recently taken up by
- gcapodeferro02/my-agent-skillstheir own version, first seen Sep 21, 2026
- nnguyenquangg/claude-code-spec-driven-developmenttheir own version, first seen Sep 16, 2026
- lucidfrontier45/agent-skillstheir own version, first seen Jul 2, 2026
- kpblcaoo/agent-skillstheir own version, first seen Jun 21, 2026
- dqtx760/skills-managetheir own version, first seen May 27, 2026
- jorgeasaurus/agent-skillstheir own version, first seen May 11, 2026
Used with
Projects with it also use mem-search.
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.
roboco-ioSkillmem-search
저장된 메모리를 검색합니다. Progressive disclosure로 토큰을 효율적으로 사용합니다.
Also in 3 projects that use this
Other versions7 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 7
- nnguyenquangg/claude-code-spec-driven-development★ 18same name
- jorgeasaurus/agent-skills★ 13same name
- dqtx760/skills-manage★ 2same name
- gcapodeferro02/my-agent-skills★ 1same name
- kpblcaoo/agent-skills★ 1same name
- lucidfrontier45/agent-skills★ 1same name
- Trecek/useful-claude-skills★ 1same 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.
In this repository7 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- chat-bridgeSkill
- daemon-state-diagramSkill
- fix-prSkill
- releaseSkill
- review-implementationSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
33 rules. 0 are common, 8 are distinctive, and 25 are very specific to this project.
0
Common
Most of the 7 edited versions we read keep these.
8
Distinctive
This author's own choices. Worth a look.
25
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 16
Use a small path layer before writing any files.
- Very specific: line 37
If the current directory contains cryo.toml, treat it as an existing standalone chamber: project_dir = cwd, chamber_dir = cwd.
- Very specific: line 39
If the current directory contains .cryo/cryo.toml, reuse it: project_dir = cwd, chamber_dir = cwd/.cryo.
- Very specific: line 41
If the current directory is non-empty and does not already contain cryo.toml, ask: "This looks like an existing project.
- Very specific: line 49
When using a project-local .cryo chamber, make the generated plan explicit: the agent should treat ..
- Distinctive: line 56
Ask questions one at a time.
- Very specific: line 60
Ask up front — this affects sync paths, Cryohub registration/config, and .gitignore patterns.
- Distinctive: line 116
Only switch when the user names a different agent.
- Very specific: line 126
If the user has an API key now, capture the env var name and value (e.g.
- Very specific: line 127
If the user wants to configure the provider later: skip for now and in Phase 4 tell them how to add a [provider] block to cryo.toml.
- Very specific: line 128
If the agent picks credentials up some other way (e.g.
- Very specific: line 134
Ask how much filesystem/tool authority the launched agent should have.
- Distinctive: line 149
Use only for trusted agents and explicit paths.
- Very specific: line 156
Do not deny project edits by default: the point is to block writes outside the selected project, not to make the agent read-only.
- Distinctive: line 199
If external reading is useful, prefer narrow allowlists plus edit denial:
- Distinctive: line 222
If the machine was suspended and the agent wakes 5+ minutes late, how should it react?
- Very specific: line 243
If chamber_dir is project_dir/.cryo, include a short Configuration note: "Project root is ...
- Very specific: line 249
Write the file at plan_path(project_dir)
- Very specific: line 270
If Zulip sync chosen, note that cryo-zulip init will run in Phase 3
- Very specific: line 271
If OpenCode is selected, present the recommended permission snippet separately from cryo.toml.
- Very specific: line 281
Verify plan_path(project_dir) exists and contains Goal and Tasks sections
- Very specific: line 282
Verify config_path(project_dir) parses correctly: run cryo init in chamber_dir — it's idempotent and will print "(exists, kept)" for …
- Very specific: line 286
Verify the agent command is on PATH (e.g.
- Very specific: line 287
If OpenCode permissions were configured, verify the expected permission block exists in opencode.json or the selected user config before …
- Very specific: line 299
If a [provider] block is configured: validate the env vars it injects (e.g.
- Distinctive: line 306
If a sync channel is configured, initialize it first so the smoke run can exercise it:
- Very specific: line 309
Run CRYO_NO_SERVICE=1 cryo start from chamber_dir (direct-spawn mode — simpler to cancel than a launchd/systemd service).
- Very specific: line 311
Wait for the first session to complete: watch cryo.log for agent started → hibernate: → session complete → --- CRYO END ---.
- Very specific: line 313
Run cryo cancel from chamber_dir to clean up.
- Distinctive: line 321
Ask the user if they want to launch the plan immediately.
- Very specific: line 323
If yes: run cryo start from chamber_dir (and cryo-zulip sync from chamber_dir if a sync channel was configured).
- Very specific: line 324
If no: print instructions for launching later from chamber_dir (cryo start, sync commands if applicable, cryo watch).
- Distinctive: line 326
If the user deferred provider setup in Q7, remind them how to configure it:
“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.
Files
Creating a Cryochamber Application
Overview
Guide users through creating a cryochamber application via conversational Q&A. Four phases: brainstorm the plan, configure cryo.toml, validate everything works, optionally launch.
Assumes cryo CLI is installed and on PATH.
Path Model
Use a small path layer before writing any files. This keeps existing projects clean
without changing cryo init.
Conceptual helpers:
chamber_dir(project_dir)— where Cryochamber files live. For an existing non-empty project, default toproject_dir/.cryo. For a standalone chamber, this is the selected chamber directory itself.plan_path(project_dir)—chamber_dir(project_dir)/plan.mdconfig_path(project_dir)—chamber_dir(project_dir)/cryo.tomlnotes_path(project_dir)—chamber_dir(project_dir)/NOTES.mdmessages_dir(project_dir)—chamber_dir(project_dir)/messages
Track two explicit directories:
project_dir— the directory whose files the agent is meant to work on.chamber_dir— the directory passed as cwd tocryocommands and whereplan.md,cryo.toml,NOTES.md, andmessages/are stored.
Resolution rules:
- If the current directory contains
cryo.toml, treat it as an existing standalone chamber:project_dir = cwd,chamber_dir = cwd. - If the current directory contains
.cryo/cryo.toml, reuse it:project_dir = cwd,chamber_dir = cwd/.cryo. - If the current directory is non-empty and does not already contain
cryo.toml, ask: "This looks like an existing project. Store Cryochamber files in.cryo/here? [Y/n]". Default to yes. If accepted, setproject_dir = cwd,chamber_dir = cwd/.cryo.
In project-local .cryo mode, do not write AGENTS.md, CLAUDE.md,
plan.md, or cryo.toml into the project root.
When using a project-local .cryo chamber, make the generated plan explicit:
the agent should treat .. as the project root and use NOTES.md in the
chamber directory for memory. From the project root, that memory file is
.cryo/NOTES.md.
Phase 1: Brainstorm the Plan
Ask questions one at a time. Suggest answers based on the task. Multiple choice where possible.
Q0. Where should the chamber live?
Ask up front — this affects sync paths, Cryohub registration/config, and .gitignore
patterns. Suggest a sensible default based on context:
- Inside this existing project (default when cwd is non-empty) —
./.cryo/. Keeps Cryochamber files out of the project root. The agent should work on the project through..from inside the chamber. - In the global Cryohub root (recommended for dashboard-first use) —
~/.cryo/chambers/<name>/by default. Cryohub can also be configured withchamber_root = "/path/to/project/.cryo/chambers"for project-owned chamber collections. - Standalone —
~/cryo/<name>/or any other directory. It will appear in Cryohub aftercryo startregisters it.
Confirm project_dir and chamber_dir before moving on. Create chamber_dir
if it doesn't exist.
Q1. What's the task?
Open-ended: "What should the agent do each session?"
Q2. Schedule pattern
Suggest based on Q1, then ask:
- Periodic (every N minutes/hours) — monitoring, scraping, reminders
- Event-driven (react to inbox messages) — responding to human input
- Adaptive (adjust pace based on activity) — correspondence games, polling
- Interactive schedule table — build a multi-step schedule collaboratively (e.g. "Day 1: send CFP, Day 7: remind reviewers, Day 14: collect results"). Good for conference organizing, editorial calendars, multi-phase projects. Co-create the table with the user row by row.
Q3. External tools
Analyze the task and suggest likely tools (e.g. "this sounds like it needs a web scraper — would curl or a Python script work?"). Skip if the task clearly needs no external tools.
Q5. Persistent state
What does the agent need to remember across sessions? Suggest based on task (counters, progress markers, data snapshots, timestamps, scheduled reminders). Two cross-session primitives are available — see the State primitives reference below.
State primitives reference
| Primitive | What it stores | When to use |
cryo-agent todo add "..." --at <ISO> / todo list / todo done <id> | A list of items, each with optional scheduled deadline | Anything time-scheduled: reminders, deadlines, periodic tasks. The daemon surfaces todo list on wake, and the --at values make scheduling decisions machine-readable. |
NOTES.md | Free-form agent-managed text | Auxiliary state: counters, fired-reminder markers, the last summary timestamp, game position snapshots, anything without a deadline. |
Rule of thumb: if the thing has a time associated with it, prefer todo --at. Otherwise append to NOTES.md. Use both in combination when needed (e.g. todo stores the reminder, NOTES.md marks it already fired).
Q6. Failure & retry strategy
What if the agent crashes or hangs? The daemon's contract is fixed and not configurable: a session that exits without cryo-agent hibernate causes the daemon to mark each claimed TODO done and add a fresh retry TODO with an (attempt k) suffix and a 2^k-minute delay (capped at 1 day). Retries continue at growing intervals until the TODO is manually marked done or a session succeeds.
Discuss with the user: at what attempt count would they want to be alerted, and via what channel? Encode that as a rule in plan.md (e.g. "if a TODO reaches (attempt 5), send a help message before retrying further").
Q7. AI agent & providers
Which agent command? Default to opencode unless the user explicitly asks for
something else — it is the supported headless agent for Cryochamber and the
rest of this skill (permission snippet in Q8, smoke test in Phase 3) assumes it.
Only switch when the user names a different agent.
- opencode (default, recommended) — headless coding agent
- claude — Anthropic's Claude CLI
- codex — OpenAI's Codex CLI
- pi — Pi CLI
- kimi — Kimi Code CLI
- custom — any command
Then: API key configuration. The agent process inherits one provider's env via a [provider] block in cryo.toml:
- If the user has an API key now, capture the env var name and value (e.g.
ANTHROPIC_API_KEY=sk-ant-...) plus any model selection vars (e.g.OPENCODE_PROVIDER,OPENCODE_MODEL). Phase 2 will write a[provider]block that injects them into every spawned agent session. - If the user wants to configure the provider later: skip for now and in Phase 4 tell them how to add a
[provider]block tocryo.toml. - If the agent picks credentials up some other way (e.g.
opencode auth loginkeychain), no[provider]block is needed.
(One active provider per chamber; provider rotation is not supported.)
Q8. Agent permissions
Ask how much filesystem/tool authority the launched agent should have. For
OpenCode, recommend a policy and tell the user that permissions belong in
OpenCode config (opencode.json or user config), not in cryo.toml.
Recommended choices:
- Project edits allowed, outside edits denied (recommended for most) —
agent may edit files in
project_dirandchamber_dirby default. External paths require an explicit allowlist and are read-only by default. For OpenCode: setexternal_directoryto allowproject_dirwhenchamber_dirisproject_dir/.cryo, because the launched agent's cwd is the chamber. For unattended chambers, avoid unresolvedaskprompts. - Strict sandbox — edit only chamber files and deny other external directory access. Use only when the task does not need to modify project files; otherwise it is too restrictive for normal Cryochamber work.
- Broad project maintainer — allow edits in a larger workspace/repo set. Use only for trusted agents and explicit paths; still deny secrets and destructive commands.
For OpenCode, suggest this baseline unless the task needs more. Replace
<PROJECT_DIR> and <CHAMBER_DIR> with absolute paths. If
project_dir == chamber_dir, omit the external_directory project allowlist
and keep only the deny/ask default for paths outside the chamber.
Do not deny project edits by default: the point is to block writes outside the
selected project, not to make the agent read-only.
For interactive chambers, change catch-all deny rules to ask where human
approval is acceptable. For unattended chambers, prefer deny plus explicit
allowlists so the agent cannot hang waiting for approval.
{
"permission": {
"external_directory": {
"*": "deny",
"<PROJECT_DIR>/**": "allow"
},
"read": {
"*": "allow",
"*.env": "deny",
"*.env.*": "deny",
".cryo/zuliprc": "deny"
},
"edit": {
"*": "deny",
"<PROJECT_DIR>/**": "allow",
"<CHAMBER_DIR>/**": "allow",
"*.env": "deny",
"*.env.*": "deny",
".cryo/zuliprc": "deny"
},
"bash": {
"*": "deny",
"cryo-agent *": "allow",
"rg *": "allow",
"git status*": "allow",
"git diff*": "allow",
"cargo test*": "allow",
"rm *": "deny",
"sudo *": "deny",
"git reset *": "deny",
"git push *": "deny"
}
}
}If external reading is useful, prefer narrow allowlists plus edit denial:
{
"permission": {
"external_directory": {
"*": "deny",
"~/Documents/reference/**": "allow",
"<PROJECT_DIR>/**": "allow"
},
"edit": {
"~/Documents/reference/**": "deny"
}
}
}Record the selected policy in the generated plan. If the agent is not OpenCode, record the intent ("workspace-only edits, read-only external references") and tell the user to apply the equivalent permission controls in that agent.
Q9. Delayed wake reaction
If the machine was suspended and the agent wakes 5+ minutes late, how should it react? Suggest based on task:
- Adjust and continue (recommended for most) — recalculate deadlines, skip missed steps, catch up
- Alert the human — send a message about the delay, then proceed (recommended for time-sensitive tasks)
- Abort the session — exit with error, let human decide
- Ignore — treat as normal wake
Q10. Notification & sync channel
How should the agent communicate with the user?
- Hub (Web UI) (recommended, default) — browser via
cryohub start. Cryohub is global and registry-backed; it can be started from any directory and shows chambers created in the UI or registered bycryo start. Host, port, and dashboard-created chamber root are in~/.config/cryo/cryohub.toml(or$XDG_CONFIG_HOME/cryo/cryohub.toml), with defaults127.0.0.1:8765and~/.cryo/chambers. For project-owned chamber collections, setchamber_rootto<project>/.cryo/chambers. For remote access usecryohub start --host 0.0.0.0; if 8765 is taken, pick a free port (check withss -tlnp | grep :8765) and confirm with the user. - Zulip (advanced) — rich web UI, bot support, persistent history. Walk through: zuliprc path, stream name, sync interval. Before Phase 3: the bot (whoever owns the API key in the zuliprc) must be subscribed to the target stream; otherwise
cryo-zulip initfails when resolving the stream. Remind the user to add the bot in Zulip's stream settings. - None — agent runs silently, check logs manually.
Output
After all questions:
- Draft
plan_path(project_dir)with Goal, Tasks, Configuration, and Notes sections - For interactive schedule tables: embed the schedule as a markdown table in Tasks
- Include delayed wake handling instructions in Tasks
- Include persistent state strategy in Notes (map each piece of state to
todo --atvs.NOTES.md— see the State primitives reference in Q5) - Include a
cryo-agent timeusage note: the tool accepts(no arg)for current time,+N minutes|hours|days|weeksfor offsets, or an ISO8601 string like2026-04-25T10:00as pass-through. It does not parse natural-language expressions ("tomorrow 9am"). For those, the agent should fetch the current time withcryo-agent time, compute the absolute ISO timestamp itself, and pass that directly totodo add --at. - If
chamber_dirisproject_dir/.cryo, include a short Configuration note: "Project root is..; keep chamber memory inNOTES.md." - Include the selected agent permission policy in Notes. For OpenCode, include the exact config path/action the user should take before Phase 3 if the policy differs from their current default.
- Present draft to user for approval/edits
- Write the file at
plan_path(project_dir)
Reference existing examples for plan.md structure:
examples/chambers/mr-lazy/plan.md— simple periodic taskexamples/chambers/chess-by-mail/plan.md— adaptive event-driven task
Phase 2: Configure cryo.toml
Generate config_path(project_dir) from Phase 1 answers. No new questions —
everything maps directly.
| Brainstorm answer | cryo.toml field |
| AI agent (Q7) | agent |
| Provider env (Q7) | [provider] with name and env = { ... } map |
| Agent permissions (Q8) | Not a cryo.toml field. Record in plan.md; configure in the agent's own permission config (for OpenCode, opencode.json or user config). |
| Sync channel (Q10) — Hub (Web UI) (recommended) | Host, port, and dashboard-created chamber root live in cryohub.toml; nothing goes in per-chamber cryo.toml. |
Process:
- Generate
config_path(project_dir)with values filled in and commented explanations - Present to user — highlight non-default values and explain why each was chosen
- If Zulip sync chosen, note that
cryo-zulip initwill run in Phase 3 - If OpenCode is selected, present the recommended permission snippet separately
from
cryo.toml; ask before writing or changingopencode.json. - Write the file at
config_path(project_dir)
Phase 3: Validate
Three layers, in order. On failure: stop, report what failed, suggest fixes, let user retry that layer.
Layer 1: Static file + binary validation (no API calls)
- Verify
plan_path(project_dir)exists and contains Goal and Tasks sections - Verify
config_path(project_dir)parses correctly: runcryo initinchamber_dir— it's idempotent and will print "(exists, kept)" for pre-existing files. Failure here means TOML is malformed. Running it inchamber_dirkeeps generated chamber files out ofproject_dir. - Verify the agent command is on PATH (e.g.
which opencode) - If OpenCode permissions were configured, verify the expected
permissionblock exists inopencode.jsonor the selected user config before live smoke testing.
These checks are free. If any fails, stop — don't proceed to the live smoke test in Layer 3, which will fail in a more confusing way.
Layer 2: External tool validation
- For each external tool referenced in
plan_path(project_dir): run a smoke test- Scripts: verify they exist and execute (e.g.
uv run chess_engine.py board) - APIs: verify endpoints are reachable (e.g.
curl -sf https://... > /dev/null) - Env vars: verify required variables are set and non-empty
- Scripts: verify they exist and execute (e.g.
- If a
[provider]block is configured: validate the env vars it injects (e.g.ANTHROPIC_API_KEYis non-empty)
Layer 3: Live smoke test
This is the only place the agent actually runs. It catches misconfigured API keys, broken agent installs, and sync credential issues.
- If a sync channel is configured, initialize it first so the smoke run can exercise it:
- Zulip:
cryo-zulip init --config <path> --stream <name>. Needs the bot subscribed to the stream (see Q10 pre-flight).
- Zulip:
- Run
CRYO_NO_SERVICE=1 cryo startfromchamber_dir(direct-spawn mode — simpler to cancel than a launchd/systemd service). - Wait for the first session to complete: watch
cryo.logforagent started→hibernate:→session complete→--- CRYO END ---. - Run
cryo cancelfromchamber_dirto clean up. - Report: session count, exit code from
cryo.log, any errors, and whether the agent sent a Zulip test message (if applicable).
On success: "Your cryo application is ready."
Phase 4: Launch
Ask the user if they want to launch the plan immediately.
- If yes: run
cryo startfromchamber_dir(andcryo-zulip syncfromchamber_dirif a sync channel was configured). Report the status withcryo status. - If no: print instructions for launching later from
chamber_dir(cryo start, sync commands if applicable,cryo watch).
If the user deferred provider setup in Q7, remind them how to configure it:
- Edit
config_path(project_dir)and add a[provider]block withnameandenvmap, e.g.:[provider] name = "opencode" env = { OPENCODE_PROVIDER = "anthropic", OPENCODE_MODEL = "claude-sonnet-4-20250514", ANTHROPIC_API_KEY = "sk-ant-..." } - Warn: add
config_path(project_dir)to.gitignoreif it contains API keys.
Process Flow
digraph cryo_create {
"Q0-Q11: Brainstorm" [shape=box];
"Draft plan_path(project_dir)" [shape=box];
"User approves?" [shape=diamond];
"Generate config_path(project_dir)" [shape=box];
"User approves config?" [shape=diamond];
"Layer 1: Static files" [shape=box];
"Layer 2: Tools" [shape=box];
"Layer 3: Smoke test" [shape=box];
"Launch now?" [shape=diamond];
"Start services" [shape=box];
"Ready" [shape=doublecircle];
"Q0-Q11: Brainstorm" -> "Draft plan_path(project_dir)";
"Draft plan_path(project_dir)" -> "User approves?";
"User approves?" -> "Draft plan_path(project_dir)" [label="revise"];
"User approves?" -> "Generate config_path(project_dir)" [label="yes"];
"Generate config_path(project_dir)" -> "User approves config?";
"User approves config?" -> "Generate config_path(project_dir)" [label="revise"];
"User approves config?" -> "Layer 1: Static files" [label="yes"];
"Layer 1: Static files" -> "Layer 2: Tools";
"Layer 2: Tools" -> "Layer 3: Smoke test";
"Layer 3: Smoke test" -> "Launch now?";
"Launch now?" -> "Start services" [label="yes"];
"Launch now?" -> "Ready" [label="no"];
"Start services" -> "Ready";
}Common Mistakes
| Mistake | Fix |
Hardcoded timestamps in plan_path(project_dir) | Always compute times via cryo-agent time (relative) or an ISO8601 string the agent constructed |
Passing natural language to cryo-agent time (e.g. "tomorrow 9am") | Only +N minutes|hours|days|weeks and ISO8601 (2026-04-25T10:00) are accepted. Agent must reason about NL expressions itself. |
Appending to NOTES.md for time-scheduled items | Use todo add "..." --at <ISO> for anything with a deadline; NOTES.md is for auxiliary state without a deadline. |
| Missing hibernation in plan — treated as crash | Every task path must end with cryo-agent hibernate |
| Provider env vars not set | Validate in Phase 3 before starting |
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.

