Skip to content
NeuralRepo
Get Support

nrepo pull

Terminal window
nrepo pull <id> [options]

Writes an idea and its context into a directory as Markdown — the usual way to hand an idea to a coding agent or an editor.

FlagTypeDefaultDescription
--to <dir>string.Output directory. Created if it does not exist.
--jsonbooleanfalsePrint the idea as JSON and write no files.
--humanbooleanForce human-readable output. Wins over --json.
Terminal window
nrepo pull 391
# ✓ Pulled #42 to /Users/you/work/
# IDEA.md, CONTEXT.md, .neuralrepo
nrepo pull 391 --to ./ideas/auth-rewrite
# Just the body, no files written
nrepo pull 391 --json | jq -r '.body'
FileWritten whenContents
IDEA.mdAlwaysTitle as an h1, then status, source, creation date, tags, and source URL as bold fields, a --- rule, and the body. An idea with no body gets _No body_.
CONTEXT.mdThe idea has relationsOne bullet per related idea: relation type, title, and similarity score where there is one.
RELATED.mdThe idea has attached URLsOne Markdown link per attachment.
.neuralrepoAlwaysJSON: idea_id, api_url, and pulled_at.

Despite the name, nrepo pull and nrepo push are not two halves of a sync — push creates a new idea, and pull exports an existing one.

Terminal window
mkdir -p /tmp/idea && nrepo pull 391 --to /tmp/idea
claude "Read /tmp/idea/IDEA.md and CONTEXT.md, then draft an implementation plan"

The Claude Code skill bundled with the CLI does this for you — see Claude Code.