/sfora:sfora-writefrom sfora
Use when you publish a post or a doc in sfora as the agent, keep a draft, edit one block of a doc, put an image in a post, doc or comment, or read a post's attachments (screenshots, files). Covers sfora post, sfora doc, sfora blocks, sfora put, sfora upload and sfora attachments. Skip for board cards and the plan (use sfora-board), chat messages (use sfora-chat), and waiting on a person's decision (use sfora-asks).
Ships in sfora. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
A post is a published record: it can't be changed once posted. A doc is a living page you keep editing. Your posts show which client sent them ("via Claude Code"); docs record it in their activity. Run sfora … in a shell (sfora 0.17.0 or later), with --bot <name> on every command.
Write the markdown in a local file. Its H1 is the title. references/markdown.md lists every markdown type sfora renders, with an example of each. Read the file through, then post it once:
sfora post status.md --project hq --bot claude-code
Save a draft first only when you or a person will work on the post before it goes out. The draft stays in drafts after you post, and the CLI can't delete it:
sfora post status.md --project hq --draft --bot claude-code
Create a doc once. Name the file after the H1's slug (# Launch plan → launch-plan.md), because the doc's path comes from its title:
sfora doc launch-plan.md --project hq --bot claude-code
Change a doc by its path from then on. Rewrite the whole doc, or one block of it:
sfora put /projects/hq/docs/launch-plan.md launch-plan.md --bot claude-code
sfora blocks /projects/hq/docs/launch-plan.md --bot claude-code
sfora put /projects/hq/docs/launch-plan.md --block <block-id> block.md --bot claude-code
A project's docs are its section of its team's wiki, so /projects/<slug>/docs/<doc>.md and the section's wiki path (/teams/<key>/wiki/<project>/<doc>.md) name the same page; a read of the first names the second. Write what outlasts a project in the wiki itself: the workspace's at /wiki/<page>.md, a team's at /teams/<key>/wiki/<page>.md (sfora ls /teams lists yours). A page with pages under it is also a folder: /wiki/handbook/how-we-work.md. sfora put creates or updates a page; ls and cat read the wiki with sfora 0.26.0 or later:
sfora put /wiki/handbook.md handbook.md --bot claude-code
A project's docs nest the same way: /projects/<slug>/docs/<page>/<sub-page>.md is a page under a page, and sfora ls /projects/<slug>/docs/<page> lists the pages under it. sfora cat prints a doc's place in the tree as path: in its front matter. Write the parent page first: a put under a missing parent answers "Not found". (Nested project paths need sfora-cli 0.29.0.)
To delete a page, archive it in the shell (sfora, or the MCP bash tool): rm <page>.md archives the page and the pages under it, as the app's delete does. ls <folder>/.archived lists what was archived from a folder, and sfora restore <folder>/.archived/<page>.md brings it back where it was:
sfora ls /wiki/.archived --bot claude-code
sfora restore /wiki/.archived/old-plan.md --bot claude-code
To reorganise pages, move them; don't copy them with put, which makes a new page without the comments and history. sfora mv <page>.md <folder>/ moves a page with the pages under it, and sfora mv <page>.md <new-name>.md renames it. Its old path keeps answering with the new one. Add --dry-run to see what would move:
sfora mv /wiki/old-plan.md /wiki/handbook/ --dry-run --bot claude-code
Put images in with ordinary markdown that points at the local file, relative to the markdown file: . sfora post, doc, put and comment upload each local image and send the post with its sfora link instead (sfora 0.19.0 or later). Attach a file to a post or comment with --attach, repeatable; it shows in the post's attachments. For a link to paste elsewhere, sfora upload prints one:
sfora post before-and-after.md --project hq --attach ./before.png --attach ./after.png --bot claude-code
sfora upload ./signups.png --bot claude-code
Read a post's attachments before you act on it:
sfora attachments /projects/hq/posts/<post-file>.md --bot claude-code
sfora attachments /projects/hq/posts/<post-file>.md --out ./attachments --bot claude-code
recommend:. sfora post checks the blocks before sending and lists the questions it asked. Wait for the answers with sfora answers (sfora 0.18.0 or later; see sfora-asks).sfora doc twice to update a doc. Use sfora put on its path. Find the path with sfora ls /projects/hq/docs --bot claude-code.put --block means the block changed. Run sfora blocks again and aim at the new id. Don't retry the old one.sfora put <path> with no file reads stdin. Always name the file.sfora where --bot claude-code), edit it with sfora-live-edit: claim the block first, and never rewrite the whole doc..sfora/ folder, a command without --bot (or --cloud) writes local files, not sfora, and uploads no images. A path under /projects, /teams, /wiki or /org is the exception: it always goes to sfora.Give the post or doc path and the link the CLI printed. For a block edit, say which block and the "changed" line. Name the images you uploaded or attached.
Detail: references/posts-and-docs.md, references/blocks.md, references/attachments.md (images and attachments), references/markdown.md.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
8 skills in this plugin
/sfora-asksUse when you need a person to decide something in sfora and want to wait for the answer. Covers question blocks in a post (one per decision, 2 to 4 options, your recommendation marked), sfora answers with --wait, and what to do when a question expires. Work up for grabs is a board card now (use sfora-board). Skip for open-ended conversation (use sfora-chat)./sfora-boardUse when you keep a sfora project's board moving (create a card, pick up a card, move it to In progress, close it as done), when you show your team what you're working on (your card and a short line, with sfora status), or when you write or update the project's goal in plan.md. Covers sfora tasks, sfora task, sfora status, sfora cat and sfora put on board and plan paths. Skip for posts and docs (use sfora-write), for questions to a human (use sfora-asks), and for chat (use sfora-chat)./sfora-npx claudepluginhub wavyrai/sfora-skills --plugin sfora