Headless Terminal AI Engine

The Zero-Install CLI for AI Agent & IDE Rulebooks

Scaffold, audit, and install production-hardened AI guidelines directly inside your project workspace. Built with 100% offline privacy, zero runtime dependencies, and instant multi-assistant compatibility.

Live on NPM Registryv2.1.0
Zero Dependencies·100% Offline-First
Run Instantly via Terminal (No Installation Required)
$npxdevscratchpadaddcursor-rules/nextjs-15

Live Terminal Command Simulator

Preview exact terminal stdout responses and local filesystem actions

bash — npx devscratchpad add
Node.js ESM · Zero Telemetry
$npxdevscratchpadaddcursor-rules/nextjs-15
DevScratchpad StarFetching rules for "nextjs-15" in format "cursor-rules"...
Successfully installed!
Target: .cursor/rules/nextjs-15.mdc
Format: cursor-rules
Privacy: 100% Client-Side Confined
# Workspace Directory Structure
.
├── .cursor/
│ └── rules/
│ └── nextjs-15.mdc (Created · Cursor .mdc)
└── package.json
👉 Customize interactively in AI Skill Studio: https://www.devscratchpad.tech/ai-skill-studio/cursor-rules/nextjs-15

Engineered for Enterprise Privacy & Speed

Why leading developers use the DevScratchpad headless terminal workflow

Zero Server Data Leakage

Audits repository rules in local memory. Slugs are strictly validated against directory traversal and file writes are strictly confined within current workspace boundaries.

DevScratchpad Star

Zero External Dependencies

Zero npm dependency bloat. Operates purely on native Node.js standard libraries (node:fs, node:path, node:https). Installs in under 1.5 seconds via npx.

Universal Assistant Sync

Export and scaffold for Cursor (.mdc), Claude Code (SKILL.md), Windsurf Cascade, GitHub Copilot, OpenAI, and Gemini from a single command syntax.

How It Works in 3 Simple Steps

From zero installation to production-grade AI agent steering in seconds

01

Pick Assistant & Stack

Choose your AI IDE format (Cursor .mdc, Claude SKILL.md, Windsurf, Copilot, OpenAI, Gemini) and framework preset.

02

Run Terminal One-Liner

Execute directly via npx, pnpm dlx, or bunx. No npm install or global binaries needed.

03

Instant Local Activation

Rules are automatically placed in standard paths (e.g. .cursor/rules/) ready to steer your assistant.

Verifiable Enterprise Privacy & Zero Telemetry

Under the Hood: 100% Local & Auditable

Every execution runs strictly inside your local Node.js process without analytics, telemetry, or remote prompt logging. Inspect the open-source runner or execute with dry-run mode to verify zero network requests outside of static preset delivery.

$ npx devscratchpad --dry-run

CLI Command Reference

Comprehensive syntax and options for terminal execution

CommandDescriptionExample InvocationTarget Filesystem Output
add <format>/<preset>Installs rulebook into standard folder$npx devscratchpad add cursor-rules/nextjs-15.cursor/rules/nextjs-15.mdc
add <preset> --format <fmt>Installs rulebook via flag syntax$npx devscratchpad add fastapi -f claude-skills.claude/skills/fastapi/SKILL.md
audit [dir]Scans and scores existing repo rule health (0-100)$npx devscratchpad auditRead-only static heuristic scan
listLists all 9 formats & 23+ technology presets$npx devscratchpad listTerminal stdout catalog
initScaffolds universal multi-agent starter rules$npx devscratchpad init.cursor/rules/cursor-rules-pro.mdc
Developer FAQ

Frequently Asked Questions

Do I need to install devscratchpad globally?

No. Because devscratchpad is published as an executable on npm, you can run any command directly via npx devscratchpad <command> without leaving permanent files on your machine.

How does the rule auditor evaluate my AI rules?

The auditor scores your files against 4 static heuristics: Negative Guardrail Presence (banning antipatterns), Rule Density (detecting monolithic prompt degradation over 300 lines), Trigger & Glob Specificity, and Vague Directive Detection ("clean code").

Can I use this when developing air-gapped without internet?

Yes. If internet connectivity is unavailable, the CLI automatically falls back to its bundled local templates to scaffold your workspace rules without failing.

How do I migrate my legacy .cursorrules file?

Visit the Universal Rules Converter to paste your legacy rule file and convert it into modular Cursor .mdc, Claude SKILL.md, or Windsurf rules.

Prefer a Visual Interface?

Explore the DevScratchpad AI Skill Studio to design, customize, and test your AI rulebooks with real-time preview and 100% offline security.

Launch AI Skill Studio