Agents
Let Claude Code, Codex or another agent open documents in Parchlet.
Install the agent skill
Choose Parchlet › Install Agent Skill…, then pick your agent’s skills folder: ~/.claude/skills
for Claude Code or ~/.codex/skills for Codex. Parchlet writes parchlet/SKILL.md there. The
skill tells the agent when to open a document and which commands to run.
When a remembered skills folder or a link holds an older copy of the skill, including a version 2 copy,
Parchlet offers to update it, at most once a day. Parchlet replaces only a file that carries its own marker, so a
parchlet/SKILL.md you wrote yourself is never overwritten.
For an agent with no skills folder, choose Parchlet › Copy Agent Instructions and paste the text
into its AGENTS.md, .cursor/rules or GEMINI.md.
How an agent opens a document
The agent opens the file, and can add a heading link after it in the same command:
open -b com.parchlet.Parchlet \
"/absolute/path/to/doc.md"
open -b com.parchlet.Parchlet \
"/absolute/path/to/doc.md" \
"parchlet://open?path=<percent-encoded absolute path>&heading=<slug>"The file comes before the link, and the path must be absolute. open -b gives the sandboxed app access to that one file; a
parchlet:// link alone can’t, so a path Parchlet hasn’t seen shows a “Grant access…” banner
instead of opening. The heading is the GitHub slug: ## Open for you is open-for-you. A slug
that doesn’t exist leaves the document at the top and shows a notice.
Paid feature. Opening at a heading is one of Parchlet’s paid features; reading stays free.
How an agent asks for a review
The skill starts a review with 1 command that opens the document and its review link together, so a sandboxed agent asks you to approve 1 command:
open -b com.parchlet.Parchlet \
"/absolute/path/to/doc.md" \
"parchlet://review?path=<percent-encoded absolute path>&root=<percent-encoded project folder>&skill=parchlet@3"It then waits for your comments in 1 of 2 ways. Where the agent’s harness wakes it when a background command exits, it waits in the background. In any other agent it waits in the foreground and reads the command’s output until a round prints. If the agent starts a second wait for the same review, the first one ends and the newer one reads your comments. After 30 minutes with no feedback the wait ends, and the agent asks you to say “check Parchlet” once you send.