Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 71
  • 287 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

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-org

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install literate-org in Claude Code

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

A

No 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 →

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.

literate-org Install

Add to stack

Loading.