literate-org
Skill by meain
Creates an org-mode document where each command is an executable org-babel block, then opens it in a running Emacs via emacsclient. Built for users who want to re-run investigation steps or runbooks themselves.
Install literate-org
Built from the published package, never by AI.
git clone --depth 1 https://github.com/meain/dotfiles /tmp/dotfiles && mkdir -p ~/.claude/skills && cp -r /tmp/dotfiles/agents/.agents/skills/literate-org ~/.claude/skills/literate-orgRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/meain/dotfiles /tmp/dotfiles && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/dotfiles/agents/.agents/skills/literate-org ~/.gemini/antigravity-cli/skills/literate-orgAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The literate-org skill turns findings, verification steps, or a runbook into an org-mode file. Each command is a bash org-babel source block that the user can run with C-c C-c in Emacs. The assistant writes the file to /tmp and opens it non-blocking with emacsclient --no-wait.
Each block is meant to run on its own, with prose before it stating the expected output. Blocks can pass values to each other through :var headers, and the file ends with a caveats section listing what could not be verified. The skill is for users who want to verify an investigation in Emacs, and it only includes commands that were actually run during the session.
Written from the project's SKILL.md and checked against it.
What it can do
- Org document writingWrites a literate org-mode file with a title, date and bash header arguments.
- Executable bash blocksEach command is an org-babel source block the user runs with C-c C-c in Emacs.
- Value chainingPasses a value from one block to another using a :var header instead of hardcoding it.
- Per-block working directorySets the :dir header for commands that must run from a specific repo path.
- Caveats sectionLists what could not be verified, such as permissions, expired sessions, or VPN access.
- Emacs openingOpens the file in a running Emacs via emacsclient --no-wait without blocking the assistant.
What you need
- A running Emacs session
- emacsclient available on the command line
- Bash for the source blocks
Try asking
- Turn this investigation into a runnable org document I can execute in Emacs.
- Create an org file with runnable bash blocks that verify these findings.
- Make this verifiable in org so I can re-run each command myself.
Good to know
- emacsclient needs a Unix socket, so the sandbox must be disabled for that command.
- If emacsclient reports it cannot find the socket, the file path is given instead.
- Blocks that feed :var values re-run their producer block, so producers must be cheap and idempotent.
- After later edits the user must revert or refresh in Emacs; the file is not reopened.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: agents/.agents/skills/literate-org/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to literate-org
All alternatives →Creates importable JSON templates for the Obsidian Web Clipper. It is for users who want to clip a site, understand the available variables, or format clipped content.
Harness Creator builds, audits, and improves the instruction and state files that help AI coding agents stay reliable across sessions. It is for developers whose agents forget context, drift out of scope, or claim work is done too early.
Guides an assistant through extracting text from scanned PDFs, photographed pages, and images with OCR. Covers backends, language packs, force-OCR, and performance tuning.
Edits a named local file in place to remove AI-writing patterns, using minimal targeted changes and post-edit verification. Built for users who explicitly ask to clean, rewrite, or humanize that specific file.
Polishes, translates, or tightens existing academic manuscript prose while preserving facts, terminology, and evidence boundaries. Made for researchers revising drafts, including Chinese-to-English translation and LaTeX layout fixes.
Adds PDF form analysis and filling, table extraction, OCR, validation and batch processing to an AI assistant. Aimed at developers who run complex or high-volume PDF workflows.
Compare with obsidian-clipper-template-creator, harness-creator or xberg-extracting-with-ocr
literate-org: common questions
How does the user run the commands in the document?
Each bash block is an org-babel source block that the user runs with C-c C-c in Emacs. The skill is meant for the user to execute, not for the assistant to run the blocks.
Where is the org file saved?
The skill writes the file to /tmp/<topic>.org and never to the repo root. It then opens it in the running Emacs with emacsclient.
What happens if a block needs a value from an earlier block?
It can pass the value with a :var header, but the source warns that resolving the var re-runs the producer block. If the producer is expensive or has side effects, the skill hardcodes the observed value instead.
How do I install literate-org?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is literate-org free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is literate-org safe to use?
It scores 71 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to literate-org?
Similar skills: obsidian-clipper-template-creator, harness-creator, xberg-extracting-with-ocr, file-edit-in-place.
