@nomark-ai/method
v0.1.0
Published
The Nomark Method — a governed, instinct-learning Claude Code harness. Standalone, no portfolio coupling.
Downloads
199
Maintainers
Readme
@nomark-ai/method
The Nomark Method — a governed, instinct-learning Claude Code harness, packaged for standalone use.
Drop-in for any project. No portfolio sync, no telemetry, no phone-home. The learning loop (instincts, memory, trust) lives entirely in your repo.
Install
#!/usr/bin/env bash
# The canonical NOMARK Method install command. This file is the ONE place it
# exists: every document that shows it transcludes these bytes verbatim, and the
# clean-machine E2E executes this file. PACKAGE_SOURCE is the substitution seam
# the E2E binds to a locally packed tarball — leave it unset and you install the
# published package. Run this inside the project directory you want to govern.
npx "${PACKAGE_SOURCE:-@nomark-ai/method}" initThat's it. Run it inside the project directory you want to govern. One command:
- Preflight — warns if git has no credential helper (private-repo plugin auth; see Zero-touch / CI installs).
- Scaffold — writes project-local state:
.nomark/,scripts/,CHARTER.md,NOMARK.md,CLAUDE.md,SOLUTION.md,progress.md. - Register —
claude plugin marketplace addagainst the bundled private (local-path) marketplace. - Install —
claude plugin install nomark-method@nomark-method-marketplace --scope project(non-interactive).
The skills / agents / hooks / commands ship as the nomark-method Claude Code plugin — nothing is hand-copied into your .claude/, which kills the forgotten-copy failure class. Restart Claude Code after install so the plugin loads.
It refuses to overwrite an existing .claude/ or .nomark/ unless you pass --force. If the claude CLI isn't on your PATH, the two plugin commands are printed for you to run manually.
To scaffold a different directory, pass it to the bootstrapper as init ./my-project.
What you get
The skills / agents / hooks / commands come from the installed nomark-method plugin (in Claude Code's plugin cache), not from your repo. The bootstrapper writes only project-local state:
your-project/
├── .claude/
│ ├── CLAUDE.md Session-start instructions for Claude Code
│ └── settings.json enabledPlugins: { nomark-method: true } (written by plugin install)
├── .nomark/
│ ├── schemas/ JSON schemas for governance artifacts
│ ├── lifecycles/ Lifecycle manifests (discover → plan → build → verify → ship)
│ ├── config/ Default config (context brackets, etc.)
│ └── resources.json Empty starter — your verified infrastructure registry
├── scripts/ Lifecycle engine, drift scorer, instinct index, MEE event log
├── tasks/instincts/ Instinct lifecycle dirs (pending → proven → promoted → dormant)
├── CHARTER.md The constitution. Read first.
├── NOMARK.md The method. Read second.
├── SOLUTION.md Stub for your project's solution spec.
└── progress.md Stub for active task state.What it gives Claude Code
- Governance — CHARTER.md defines integrity rules, verification protocol, autonomy levels. The Governance Board (
/board) evaluates ambiguous decisions through 5 lenses. - Lifecycle engine — every feature flows through
discover → plan → build → verify → shipwith trust gates and artifact tracking. - TDD discipline —
/tdd-cycle,/tdd-feature,/autopilotenforce red-green-refactor. - Instinct learning loop — Claude captures patterns, validates them across sessions, evolves clusters into skills. Local-only; nothing leaves your repo.
- Memory —
.nomark/memory/stores YAML-fronted decision history, indexed and searchable via/memory. - Trust system — sessions earn or lose trust based on integrity. Autonomy adjusts to score.
- Resource graph —
.nomark/resources.jsonis a verified registry. Theresource-graph-guardhook stops Claude from inventing infrastructure references. - Drift detection — workspace and context drift flagged on every session start.
- ~260 skills, ~110 agents out of the box (frontend, backend, data, security, design, etc.).
What's not in this package
The full Nomark stack also includes:
nomark-cloud— hosted sync, dashboards, peer coordination (opt-in infra).- Portfolio sync — auto-pushes session telemetry to a portfolio repo for cross-project learning.
- Peer governance — Code-Cowork inter-session coordination.
- n8n / Slack / Linear notification hooks.
This package strips all of those at build time. You get a fully functional, fully local Nomark harness. If you later want to plug into the broader ecosystem, see www.nomark.ai.
Building apps with Nomark primitives
This package is the method — how you govern your dev process.
If you want to embed Nomark concepts (engine, agents, evals) into your own application, you want a different package:
@nomark-ai/engine— open core (TypeScript / Python).@nomark-ai/pro— advanced features.
Requirements
- Node ≥ 18
- Claude Code installed (provides the
claudeCLI used for plugin install) - A project directory (any language, any framework)
Zero-touch / CI installs
The plugin installs from a marketplace source. For a private marketplace (a private git repo), Claude Code's background install/auto-update authenticates git over HTTPS — which needs a credential helper. The bootstrapper's preflight warns when none is configured. Two supported paths:
Interactive / developer machine — configure git auth once:
gh auth setup-git # or use an SSH remote for the marketplace repoZero-touch / CI (no interactive auth) — pre-bake the plugin cache with CLAUDE_CODE_PLUGIN_SEED_DIR. Point it at a directory that already contains the resolved plugin payload (the same layout npm run build:plugin produces), so claude plugin install seeds from disk instead of fetching over the network:
export CLAUDE_CODE_PLUGIN_SEED_DIR=/path/to/prebaked/pluginsThen run the install command above in the target project — marketplace add and install both resolve from the seed dir.
This makes the install hermetic — no git credentials, no network — which is the intended path for CI images and unattended provisioning. (C3)
Updating
The execution surface is a plugin, so updates are a plugin operation — not a re-copy:
claude plugin marketplace update nomark-method-marketplace
claude plugin update nomark-method@nomark-method-marketplace # restart to applyProject-local scaffolding (CHARTER.md, NOMARK.md, scripts/, .nomark/ schemas) is a one-shot drop you own and can refresh by re-running the install command with --force in a fresh checkout, merging selectively.
License
Apache-2.0. See LICENSE. Third-party attributions: ATTRIBUTION.md.
Trademarks
The Apache-2.0 licence applying to this package grants rights only to the licensed copyright and the associated patent rights described in that licence. No licence is granted to use the NOMARK name, logos, branding, trade dress, or other trademarks except as separately authorised in writing by NOMARK.
Building from source
This package is developed inside the NOMARK monorepo (the repository.directory field in package.json names its home there). From the package's own directory in a monorepo checkout:
npm run build # snapshot the harness (scrubs portfolio coupling)
npm test # smoke-test the init script in a temp dirThe build script lives at scripts/build-harness.cjs.
