Skip to main content

Claude CLI + BlocPad CLI

Where to put rules (system prompt)

Claude CLI rules can be stored in .claude/config.json at the repo root. If you’re using Claude Code specifically, their official config uses .claude/settings.json and optional CLAUDE.md, but you can keep the same rules text in your .claude/config.json if that’s what your setup uses.
  • .claude/config.json

Steps

  1. Export context:
  1. In Claude CLI, paste your instruction and include blocpad-context.md.

Example prompt