Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By Lizo-RoadTownv0.1.28Apache-2.0In 1 marketplace
Tapestry's Claude Code discipline plugin. Auto-injects PROBE-first behavior, file:line citation enforcement, dev-tooling-vs-runtime distinction, and friction-as-memory writing for Claude Code sessions in any Tapestry-consuming project. The 4 hooks (SessionStart, UserPromptSubmit, PreToolUse, Stop) cover the session lifecycle: SessionStart auto-recalls top-N memories from the loom-memory MCP and runs the architecture-snapshot pipeline; UserPromptSubmit injects PROBE reminders; PreToolUse audits write/edit args; Stop checks for the upskilling report and runs the Path A observer (parses transcripts + counts skill invocations + POSTs candidates to the architecture-registry as sessions_seen crosses thresholds). Scope gate honors LOOM_PROJECT_ID in .env (per-project opt-in) plus cwd-substring allowlist. Every hook emits an OTLP log to the configured Grafana Cloud endpoint; see the OTel coordination contract at https://tapestry-khaki.vercel.app/reference/otel-coordination-contract/ for the attribute schema.
You run one by typing its /name in Claude Code.
2 cautions to review before installing
A hook runs when Claude uses the Bash tool
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
discipline, hooks, agent-behavior, tapestry, probe-first, friction-as-memory, observability, otel ·
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Claude Code plugin. The discipline wrapper for Liz's Claude Code sessions in Make_Skills, the-loom, project-starter-scaffolded repos, and (as of v0.1.12) any repo that sets LOOM_PROJECT_ID in its .env — the explicit per-project opt-in. Auto-injects PROBE-first behavior, file:line citation enforcement, dev-tooling-vs-runtime distinction, and friction-as-memory writing. Hook scripts inject reminders on every prompt and audit tool args before writes.
v0.1.6 (this version) also emits each hook event as an OTLP log to the-loom's Grafana Cloud LGTM stack — cross-machine observability for what your Claude Code sessions are doing.
This plugin has had three canonical homes:
| Period | Name | Source repo | Marketplace |
|---|---|---|---|
| 2026-05-22 → 2026-05-26 (v0.1.0–0.1.5) | make-skills-discipline | Lizo-RoadTown/claude-skills-marketplace/plugins/ | lizo-skills |
| 2026-05-26 → 2026-06-22 (v0.1.6–0.1.15) | loom-discipline | Lizo-RoadTown/the-loom/adapters/claude-code/ | lizo-loom |
| 2026-06-22 → today | tapestry-discipline | Lizo-RoadTown/tapestry/integrations/claude-code/ (this directory) | tapestry |
The 2026-05-26 move folded the plugin into the-loom under the name loom-discipline (added OTLP log exporter alongside the existing hooks.jsonl local write). The 2026-06-22 consolidation (PR #42) renamed it to tapestry-discipline and lifted the source into the tapestry monorepo. The prior install commands (loom-discipline@lizo-loom) still resolve during the transition window.
# In any Claude Code session:
/plugin marketplace add Lizo-RoadTown/tapestry
/plugin install tapestry-discipline@tapestry
# OR symlink directly into Claude's plugin dir for development:
ln -s C:/Users/Liz/tapestry/integrations/claude-code/tapestry-discipline ~/.claude/plugins/tapestry-discipline
After install, restart Claude Code so the loader binds the new plugin.
Every hook fire writes to two outputs:
~/.claude/logs/hooks.jsonl (or ${CLAUDE_PROJECT_DIR}/.claude/logs/hooks.jsonl if set). Append-only JSON lines. Source of truth.OTEL_EXPORTER_OTLP_ENDPOINT and OTEL_EXPORTER_OTLP_HEADERS are set in env. Best-effort; failures land at ~/.claude/logs/hook-otel-errors.log.Each event is one record:
{
"ts": "2026-05-26T08:00:00+00:00",
"hook": "PreToolUse",
"phase": "end",
"scope_in": true,
"action": "reminder_injected",
"exit_code": 0,
"elapsed_ms": 12,
"note": "no citation found"
}
Standard OTel SDK env vars. Set anywhere your Claude Code session inherits — .env, shell rc, etc. Liz's setup currently:
| Var | Where | What |
|---|---|---|
OTEL_EXPORTER_OTLP_ENDPOINT | the-loom/.env (gitignored) + Render env group | The OTLP/HTTP endpoint URL (Grafana Cloud) |
OTEL_EXPORTER_OTLP_HEADERS | same | Authorization=Basic%20<base64(instance_id:token)> |
OTEL_EXPORTER_OTLP_PROTOCOL | same (inline http/protobuf in render.yaml) | The wire protocol — we use JSON though; this var documents the OTel SDK convention for downstream services that DO use the SDK |
OTEL_RESOURCE_ATTRIBUTES | same (inline service.namespace=loom,deployment.environment=dev) | Namespace + environment tags |
OTEL_SERVICE_NAME | per-source (tapestry-discipline for this plugin) | Distinguishes telemetry streams |
If any of these are unset, the plugin still works — only the OTel export skips. The local jsonl write is unconditional.
permissionDecision: deny)additionalContext per hooks.json config)Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub lizo-roadtown/hcs-coordination --plugin tapestry-disciplinePlugins from other owners that cover similar ground