Stores durable facts in a categorized, plain-markdown vault on disk, alongside your agent's built-in memory.
Coding
thought-flow
Try itThe 8-stage collaboration loop for working with the user: INTENT, CONSTRAINTS, PROPOSE, PRESS, PRACTICE, INVESTIGATE, CODIFY, BOUNDARY-CHECK. Use when starting a new task (state intent and constraints up front), when proposing a plan (include options + a recommendation), when the user pushes back on a proposal, when something fails or looks broken and needs investigation, or when deciding whether to codify knowledge into an AGENTS.md rule or a SKILL.md procedure.
What it does
The architecture of how the user and the agent work together. It is not a rigid process — it is a loop that converges: practice again, refine again. Every stage below is a working example of the others.
The skill document
Thought-Flow — the Collaboration Loop
The architecture of how the user and the agent work together. It is not a rigid process — it is a loop that converges: practice again, refine again. Every stage below is a working example of the others.
┌────────────────────────────────────────────────────────────────┐
│ │
│ 1. INTENT ── what do I want? state it plainly │
│ │ │
│ 2. CONSTRAINTS ── what must not change? boundaries, │
│ tools, remotes, conventions, approvals │
│ │ │
│ 3. PROPOSE ── agent drafts a plan + options + │
│ recommendation │
│ │ │
│ 4. PRESS ── I push back where it conflicts with │
│ my constraints; we negotiate │
│ │ │
│ 5. PRACTICE ── approve, build, run, observe │
│ (real failures live here) │
│ │ │
│ 6. INVESTIGATE ── when it fails, verify against the │
│ real system before blaming the tool │
│ │ │
│ 7. CODIFY ── distill the practice into AGENTS.md │
│ rules and SKILL.md steps │
│ │ │
│ 8. BOUNDARY-CHECK ── is this the right repo / worktree / │
│ scope for this knowledge? resize if not │
│ │ │
│ └────── loop ── practice again, refine again ──────┘ │
└────────────────────────────────────────────────────────────────┘
The stages
- INTENT — what do I want? State it plainly, up front. The quality of the outcome depends more on how the problem is described than on the model.
- CONSTRAINTS — what must not change? Boundaries, tools, remotes, conventions, approvals. Intent and Constraints are the most expensive stages: spending ten minutes stating them saves an hour of rework.
- PROPOSE — draft a plan with options + a recommendation. A plan with only one path is a demand, not a proposal. Always include the tradeoffs so the user can disagree meaningfully.
- PRESS — the user pushes back where it conflicts with their constraints. Negotiate. Do not just argue and do not just agree — look for a third option that respects the real constraints. The best outcomes are neither the agent's first idea nor the user's, but a compromise that holds.
- PRACTICE — approve, build, run, observe. This is where the loop is honest. No plan survives contact with the real system; the failures at this stage are the ones that teach.
- INVESTIGATE — when it fails, verify against the real system before blaming the tool. Read the upstream source, call the API, check the live state. An error message is a clue, not a conclusion. This is what separates debugging from guessing.
- CODIFY — distill the practice into durable knowledge. A procedure that works twice becomes a candidate for a SKILL.md. A rule true for a whole repo becomes an AGENTS.md entry. Skill for the procedure, AGENTS.md for the constitution.
- BOUNDARY-CHECK — is this the right scope? Which repo, which worktree, which file. OpenCode loads skills only up to the git worktree root — a parent-level skill is invisible inside a sub-repo session, so put knowledge where the work happens. Too broad dilutes; too narrow fragments.
Then loop: practice again, refine again, until the system becomes boring and reliable.
Working with the loop
- The user holds the constraints; the agent holds the system knowledge. The agent's proposal is a first draft of a decision, not the decision itself.
- The user writes their operating preferences into AGENTS.md so the agent never has to ask: minimalist, Linux only, command line preferred, approval before changes, commit only when asked.
- Prefer
ghand the API for verification (gh run watch,gh run view --log,gh api,curlagainst live endpoints) over UI clicking. The API is the primary way to verify; a registry's or workflow's own report can be wrong (e.g. a success reported aspending-publicationfailure). - Precision in, precision out. Vague intent produces guesswork; precise constraints produce exactly the automation the user wanted.
Verification
- Intent and constraints were stated before any plan was drafted.
- Proposals carried at least two options plus a recommendation.
- Failures were investigated against the real system before concluding the tool or workflow was broken.
- Knowledge worth keeping was codified — into a SKILL.md for a procedure, an AGENTS.md entry for a repo-wide rule — at the worktree where the work happens.
Related skills
Join a video meeting as an AI bot with voice, avatar, and screenshare across four operating modes.
Find why your productivity system keeps failing, then apply the smallest fix — capacity math, bottleneck routing, durable local notes.
Generate and edit Draw.io, Mermaid, and Excalidraw diagrams from natural language using a structured JSON spec.
Fetch raw ad creative, app, ranking, and revenue data from AdMapix as structured JSON.
Run Git operations — commits, branches, merges, rebases, conflict resolution, and recovery — with safety rules enforced.
More from j3ffyang
Browse all skillsPolish a technical blog draft into an 800–1000 word, 3–4 section zh-CN article, preserve technical terms/code, and generate consistent hero + per-section image prompts when the user asks to polish and translate a blog with images.
Generate video from supplied image using Veo-3.0 async API. Gemini vision analyzes image, Veo creates video via predictLongRunning. All outputs in ~/.openclaw/workspace/tibetanProc/ with yymmddHHMM prefix.
Read a plain Markdown file (e.g. 260321_openclawConfig.md), generate header and section images using the default OpenClaw image model and API key from ~/openclaw/.env, create a new *_img.md copy with embedded PNGs, and move all generated images into an img/ folder next to the original file.
Polish a technical blog draft into a 1000–1200 word, 4–5 section en-US article, preserve technical terms/code, and generate one consistent hero image prompt.
Help the user draft, review, and polish blog posts in Markdown, keeping the original languages and informal tone.
Generate a daily AI news newsletter from fresh web sources. Use when the user asks for a current AI digest, AI news roundup, curated newsletter, or daily AI...