nanoclaw-repl

Operate and extend NanoClaw v2, a zero-dependency session-aware REPL built on claude -p.

Updated Mar 18, 2026
One-click install
npx skills add https://github.com/freedom909/real-estate-saas --skill nanoclaw-repl-freedom909
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: nanoclaw-repl
Source: https://github.com/freedom909/real-estate-saas/tree/main/.trae/skills/nanoclaw-repl
Command: npx skills add https://github.com/freedom909/real-estate-saas --skill nanoclaw-repl-freedom909

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Managing long-running AI coding sessions often leads to lost context, unorganized history, and no way to branch or recover work. This Skill provides operational guidance for NanoClaw v2, a session-aware REPL that persists conversations as markdown files and keeps sessions task-focused. ## Core Features & Use Cases - Persistent Sessions: Markdown-backed session storage with branching via /branch and cross-session search via /search. - Session Lifecycle Management: Switch models with /model, compact history with /compact, and export to md/json/txt with /export. - Extension Guidance: Rules for extending scripts/claw.js while preserving zero external runtime dependencies and markdown-as-database compatibility. - Use Case: Before attempting a high-risk refactor, branch your current session, complete the work, compact the history at the milestone, and export the session for archival. ## Quick Start Ask the AI to start a NanoClaw session, switch to your preferred model with /model, and branch the session before making risky changes.

Frequently Asked Questions about nanoclaw-repl

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage persistent AI REPL sessions with NanoClaw?▼

NanoClaw stores sessions as markdown files, so history persists across runs. Use /branch to fork a session before risky changes, /compact to shrink history after milestones, and /export to save sessions as md, json, or txt.

How to switch models and load skills in a claude -p REPL?▼

Use the /model command to switch the active model mid-session and /load to dynamically load skills. Both commands are handled locally and deterministically without external dependencies.

Can I search across multiple NanoClaw sessions?▼

Yes, the /search command performs cross-session search over the markdown-backed session store. Because sessions are plain markdown files, they remain searchable and portable outside the tool as well.

What are the limitations when extending NanoClaw scripts?▼

Extensions must keep zero external runtime dependencies, preserve markdown-as-database compatibility, and keep command handlers deterministic and local. Adding networked or non-deterministic behavior violates the design rules.

When should I compact or export a NanoClaw session?▼

Compact history with /compact after major milestones to keep context focused, and export with /export before sharing or archiving a session. Keeping sessions task-focused reduces the need for frequent compaction.