Discover MCPs & agents
Loading MCPs and agents…
Loading MCPs and agents…
A portable Claude Code harness: a Maintainer Protocol that gates significant changes behind a restate-it-back check, and a Learning Journal that builds a personal, cumulative dev-knowledge wiki.
Jump to setup instructionsFetched from the repository for this visit.
Review what changes. Learn what you need. Keep shipping.
vcharn pairs any coding agent that can read files and run commands with reusable engineering workflows: investigate the system, design through experiments, verify real behavior, and keep the maintainer able to explain what changed. Claude Code, Codex, Cursor, Gemini, Copilot, and other agents can use the same shared instructions.
The harness combines a Maintainer Protocol and an optional Learning Journal with workflows inspired by pstack. The CLI installs project instructions, prints task-specific briefs, runs configured verification commands, and saves evidence and portable handoffs. It uses Node.js 18+ with no runtime dependencies and does not call an AI provider.
Install from npm. The package is vibecoding-harness; the command it adds is
vcharn:
npm install --global vibecoding-harness
vcharn --help
Then initialize a project:
vcharn init --root /path/to/your-project --agent all --dry-run
vcharn init --root /path/to/your-project --agent all
Replace /path/to/your-project with your project directory. Use --agent codex, claude, cursor, gemini, copilot, opencode, antigravity
(or agy), or the default generic to select instruction bridges. OpenCode and
Antigravity also get the skills in .agents/skills/, where they discover them
natively. Existing rules and installed skills are
preserved; only vcharn's marked reference blocks are refreshed.
To try it without installing, run npx --package vibecoding-harness vcharn --help. To hack on it, clone the repository and run node bin/vcharn.mjs
(see Development).
In your project session, ask your agent:
Read .vcharn/AGENTS.md. Use vcharn to investigate and implement this change:
<your task>. Verify the affected behavior and show the evidence.
Set up application-specific verification next:
vcharn verify init --root /path/to/your-project
vcharn prompt verify-setup
Have the agent follow the setup brief to inspect the app, configure real commands, and catalog user journeys. An empty verification scaffold fails readiness. Then, from your project:
vcharn doctor
vcharn verify run
See SETUP.md for installation and migration, and the CLI reference for commands, schemas, and limitations.
Significant changes receive a short WHAT / WHY / HOW patch note and a request for the maintainer to restate their understanding. These include new modules, schema or data-flow changes, core logic, auth, new patterns, and anything the maintainer flags as unclear. The agent finishes authorized implementation and verification before requesting that checkpoint.
Routine changes proceed without a gate. After five consecutive routine
changes, the agent offers a brief zoom-out. Significant checkpoints and the
maintainer's actual words go in MAINTAINER_LOG.md. Pending restatements
stay pending; agents must never fabricate them. These are instructions,
not a hook that mechanically blocks commits. Explicit user preferences
can adjust the workflow.
Learning is optional and stays in the current project session. When invited,
learn-mode teaches six parts: the real snippet, what it does, its purpose
here, formal name, general problem, and connections to earlier concepts.
The stronger version traces actual runtime mechanics and researches design
intent from available sources. It distinguishes historical evidence from
inference, explains relevant alternatives, and offers a short prediction or
restatement exercise. Notes accumulate in ~/dev-knowledge/, with status
unseen → introduced → practiced → solid based on demonstrated
understanding. The CLI does not create or alter that personal wiki.
Notes follow the LLM-wiki pattern: the user writes raw notes, the agent
compiles them into a persistent wiki. notes/ in the personal data folder is
the user's own writing and is immutable — agents read it, never edit it.
dev-knowledge/ is the wiki the agent owns: pages with inline cross-links,
index.md as the catalog, log.md as the append-only timeline, and
provenance in page frontmatter (path, sha256, ingest date) rather than in
the note.
vcharn notes status is deterministic and read-only: it reports unfiled
notes, notes that changed after ingest, pages missing from the index, dangling
index links, and orphan pages, exiting non-zero when there is work to do. The
notes skill turns that queue into a filing pass — extend before creating,
rewrite rather than append, record contradictions instead of overwriting.
References are the one thing not to symlink: git records a link's target, not
its content, so a link to ~/Documents/paper.pdf dangles on every other
machine. Copy cited files into refs/ in the data folder; notes status
reports inward links as unsynced-reference and dead ones as
broken-reference.
Each project owns .vcharn/verification.json, its control tools, and a
feature map describing real user journeys. vcharn verify run executes
configured argv commands and saves logs and a JSON report. Agents inspect
runtime observations and assertions before claiming success. Exit zero and
a runtime label alone do not establish feature coverage.
Session handoffs live in .vcharn/memory/ and work across agents.
vcharn recall <phrase> searches them, feature maps, and the maintainer log.
It does not depend on private chat formats. Browser tools, service
connectors, parallel agents, and cloud runners can help when available;
the workflows also work sequentially with local tools.
| Skill | Purpose |
|---|---|
| vcharn | Engineering entry point with investigation, recall, design, planning, and writing references |
| verify-app | Create, run, and maintain reusable verification and feature maps |
| learn-mode | Teach concepts using grounded mechanics and historical evidence |
| notes | File raw notes into the personal wiki, query it, and lint it |
| readme-craft | Study a repository and produce an accurate README with bundled offline checks |
Ask for a skill in plain language or read its SKILL.md directly. Native
slash commands depend on your agent. vcharn skills lists workflows;
vcharn prompt how <topic> prints instructions to give any agent.
| Command | Use |
|---|---|
vcharn prompt work <task> | Implement and verify |
vcharn prompt how <topic> / vcharn prompt why <topic> | Trace behavior or investigate motivation |
vcharn prompt architect <task> / vcharn prompt prototype <task> | Compare interface sketches and experiments |
vcharn prompt learn <concept> | Teach inline and update knowledge notes |
vcharn prompt ingest <note> / vcharn prompt ask <question> | File a raw note into the personal wiki, or query it |
vcharn notes new <slug> | Create a dated raw note in your data folder |
vcharn notes status | Report unfiled notes, stale sources, and index problems |
vcharn prompt maintain | Refresh verification against current code |
vcharn feature add <slug> | Scaffold a user journey |
vcharn checkpoint --file note.md | Save a portable handoff |
vcharn recall <phrase> | Search project context |
vcharn plan check plan.json | Validate outcome and proof fields without executing a plan |
The pstack integration map explains how the article concepts became vcharn workflows. This is an original adaptation of the supplied guides, not a copy of the vendor-specific plugin.
bin/vcharn.mjs CLI entry point
lib/cli.mjs Installation, workflow briefs, verification, memory
dotfiles/AGENTS.md Shared maintainer, learning, and evidence protocols
dotfiles/CLAUDE.md Legacy global Claude template
dotfiles/skills/ Five portable skills and supporting resources
dev-knowledge/index.md Optional starter for a personal knowledge wiki
examples/ Maintainer log and concept note examples
docs/cli.md Command reference and schemas
docs/pstack-integration.md Article concepts and adaptation boundaries
test/cli.test.mjs CLI integration tests
Installed projects keep shared rules, skills, verification, feature maps,
and memory under .vcharn/. Agent instruction files reference that folder.
Evidence is ignored by git; review handoffs before sharing them.
Edit installed .vcharn/AGENTS.md for review preferences and learning
languages. Adapt control tools and feature maps to your actual app. The
global dotfiles/CLAUDE.md template uses {{...}} placeholders that
vcharn home install fills from your personal data folder; the shared project
protocol uses “the maintainer” directly.
Keep personal wiki notes in a private location. CLI reinstallations preserve customized files; compare and merge new skill versions deliberately.
Does vcharn run an agent? No. It supplies shared instructions and local tooling. Your chosen agent reads the workflows and performs the work.
Do I need Node.js? Only for the CLI and bundled scripts. Skills and protocols can be read and followed as Markdown without it.
Can it control any app automatically? Configure existing test/runtime commands and have an agent build controls for your stack where needed. The CLI captures evidence; it cannot invent app-specific acceptance tests.
Does it install globally or upload data? init writes only to the
selected project. No AI service, scheduler, or chat upload is configured.
Verification commands inherit your environment and have your permissions.
Upgrading from an older setup? Existing global Claude instructions, learn-mode, readme-craft, and personal wiki files remain usable. See the migration guide.
git clone https://github.com/thekusaldarshana/vibecoding-harness.git
cd vibecoding-harness
npm test
npm run check:readme
Releases are published to npm by GitHub Actions with provenance when a GitHub release is created.
See CONTRIBUTING.md. Keep scripts dependency-free and portable, lessons optional, and verification claims grounded in evidence.
GitHub checked 15h ago - refresh overdue. Recently viewed repositories target hourly refresh.
Find a documented setup for your client. No sign-in, installation, or tool execution.
If this MCP is also published on mcpchannel.ai, you can subscribe from Browse and use the gateway config there instead.