openspec-init SKILL.md skillA

openspec-init from motleyai/living-architecture is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add motleyai/living-architecture/openspec-init@git:20260927.7349664

Pins git:20260927.7349664 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
motleyai/living-architecture
Path
plugin/skills/openspec-init/SKILL.md
Versions recorded
2
Latest version
git:20260927.7349664, committed Sep 27, 2026
First version recorded
Sep 25, 2026
Size
3,091 bytes
Repository stars
14
License
MIT

Initialize or repair OpenSpec in the current repo for the /la:pr flow. Ensures the openspec CLI is available (global install, npx fallback), scaffolds openspec/ with `openspec init --tools none` (corpus only, no /opsx:* commands), and verifies. Invoked by /la:pr when openspec/ is absent or invalid, or run directly.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

Bring the current repo to a valid OpenSpec state: the `openspec` CLI resolvable
and an `openspec/` corpus (`specs/` + `changes/`) present and healthy. Corpus
only — no `/opsx:*` slash commands or AGENTS wiring, because the `/la:pr` flow
replaces propose/apply.

## Step 1 — Resolve the CLI (set `OPENSPEC_CMD`)

1. If `command -v openspec` succeeds → `OPENSPEC_CMD=openspec`.
2. Else install globally: `npm i -g @fission-ai/openspec` (no sudo where the npm
   global prefix is user-writable — nvm/fnm/`~/.local`-style node). Re-check
   `command -v openspec`.
3. If the global install fails (non-writable prefix, no permission, or offline):
   fall back to `OPENSPEC_CMD="npx -y @fission-ai/openspec@1.11.0"` (bump the pin
   as needed). If even npx can't fetch, STOP and tell me — do not proceed.

Use `$OPENSPEC_CMD` for every openspec call below and hand it back to the caller.

## Step 2 — Check repo state

Run from the repo root (`init` writes `openspec/` into the cwd). Classify:

- **Absent** — no `openspec/config.yaml` → Step 3.
- **Healthy** — `openspec/config.yaml` exists and `$OPENSPEC_CMD list` runs
  cleanly → nothing to do; report and return. (A healthy repo may have no
…

Read the whole file at its exact version.

How to install

No tool to install first
claude plugin marketplace add https://markdownregistry.com/mp/a/art_ihzw5ozrygw6vt7s/a3e1ca53ee766a8f9bb1977b96fadfb13fca5031628f721f4650b2b42077e283.json

Then /plugin install openspec-init@markdownregistry-ihzw5ozrygw6vt7s in Claude Code. It installs git:20260927.7349664, the one graded A here, pinned to the commit it was graded at, and leaves it there.

The exact contents, by fingerprint
mdr add motleyai/living-architecture/openspec-init@sha256:a3e1ca53ee766a8f

The line at the top of this page pins the label git:20260927.7349664, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_ihzw5ozrygw6vt7s.svg)](https://markdownregistry.com/a/art_ihzw5ozrygw6vt7s)

1 badge image fetches in 30 days. What the badge shows.

Ask from your agent
claude mcp add --transport http markdownregistry https://markdownregistry.com/mcp/registry

Then ask it: what changed in motleyai/living-architecture/openspec-init since the version I have? It reads every saved version here, no key and no account. Any agent that speaks MCP can add it.

Got a copy of openspec-init from somewhere else? Ask it: where did my openspec-init come from, and what was changed? It names the public original, the version yours is closest to and every changed line. The text is not kept.

Versions

The registry has recorded 2 versions of this file, between Sep 25, 2026 and Sep 27, 2026, about one every 2 days.

Watch this file (sign in, one email per new version)

versioncommittedcommitsizeaudit
git:20260927.7349664 latest2026-09-27 7349664 3,091 BA view · diff
git:20260925.e0994d12026-09-25 e0994d1 3,098 BA view
Keep it current by itself, install once

Committed this skill to a repository? Install the markdownregistry skill updates app on it, or on all of them. When the registry saves a newer version, a pull request brings your copy to it within minutes, the newest version first, then what changed and any check it newly trips. A copy you edited is never touched, and nothing is deleted.

Install on GitHub

It asks to read and write contents and pull requests, and to read metadata. No workflow file, no Actions setting, nothing runs on your runners. Uninstall it and everything the registry kept about your repository is deleted.

Keep it current by itself

Committed this skill to a repository? Add one workflow file, and when a newer version is saved, a pull request brings your copy to it, the newest version first, then what changed and any check it newly trips. A copy you edited is never touched, and nothing is deleted.

mkdir -p .github/workflows && curl -fsSL https://markdownregistry.com/ci/skill-updates.yml -o .github/workflows/skill-updates.yml

It runs daily on GitHub Actions, no key and no account. Read the workflow before you add it.

Check a whole project

From the root of your project, one line hashes each installed skill's SKILL.md, your AGENTS.md and your CLAUDE.md, and asks the registry once. Only the fingerprints and paths are sent.

sha256sum .claude/skills/*/SKILL.md AGENTS.md CLAUDE.md | curl -s --data-binary @- https://markdownregistry.com/api/v1/check-copies

In CI, add --fail-with-body: the answer is 409 when any file is behind, so the step fails and still prints which files.

sha256sum .claude/skills/*/SKILL.md AGENTS.md CLAUDE.md | curl -s --fail-with-body --data-binary @- https://markdownregistry.com/api/v1/check-copies

No sha256sum on your machine? shasum -a 256 prints the same lines.

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (3091 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

motleyai/living-architecture · 14 stars · license MIT · pushed 2026-11-17 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_ihzw5ozrygw6vt7s
GET https://markdownregistry.com/api/v1/resolve?ref=motleyai/living-architecture/openspec-init
GET https://markdownregistry.com/api/v1/blob/a3e1ca53ee766a8f9bb1977b96fadfb13fca5031628f721f4650b2b42077e283

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from motleyai/living-architecture

AGENTS.md AGENTS.md file
motleyai/living-architecture · AGENTS.md
git:20261113.1daeeef · audit A · 14 stars
CLAUDE.md CLAUDE.md file
motleyai/living-architecture · CLAUDE.md
git:20261001.5723e5d · audit B · 14 stars
arch-cleanup SKILL.md skill
motleyai/living-architecture · plugin/skills/arch-cleanup/SKILL.md · Use to carve or tighten ONE architecture boundary in a repo with the living-architecture setup — take a coherent batch…
git:20261109.ade696f · audit A · 14 stars
arch-init SKILL.md skill
motleyai/living-architecture · plugin/skills/arch-init/SKILL.md · Build a repo's first living-architecture model — write the language sections of architecture/index.yaml, scaffold the…
git:20261116.1f99fe6 · audit A · 14 stars
codex-review SKILL.md skill
motleyai/living-architecture · plugin/skills/codex-review/SKILL.md · Use the codex MCP server to review the current git diff. Focus on correctness, regressions, security issues, tests, and…
git:20261005.633cc9a · audit A · 14 stars
concise-comments SKILL.md skill
motleyai/living-architecture · plugin/skills/concise-comments/SKILL.md · Rules for concise code comments/docstrings, plus a pass to trim verbose ones. Use when writing or reviewing code, or…
git:20261005.4057a53 · audit A · 14 stars
deterministic-refactor SKILL.md skill
motleyai/living-architecture · plugin/skills/deterministic-refactor/SKILL.md · Use to rename or move a module/class/function/method/attribute (Python or TypeScript) and update all…
git:20261117.dfb8d44 · audit A · 14 stars
fetch-coderabbit-threads SKILL.md skill
motleyai/living-architecture · plugin/skills/fetch-coderabbit-threads/SKILL.md · Use when the user asks to fetch / list / read / show unresolved CodeRabbit review threads on a GitHub PR. Pulls thread…
git:20261005.1d349d3 · audit A · 14 stars
fetch-failed-pr-checks SKILL.md skill
motleyai/living-architecture · plugin/skills/fetch-failed-pr-checks/SKILL.md · Use when the user asks to check / fetch / list / show failed CI checks (GitHub Actions, external CI) on a GitHub PR —…
git:20261109.1aa4181 · audit A · 14 stars
init SKILL.md skill
motleyai/living-architecture · plugin/skills/init/SKILL.md · Onboard a repo to the la plugin — detect its tracker, test/lint/type-check commands, Codex, Sonar and any existing…
git:20261116.1f99fe6 · audit A · 14 stars
living-architecture SKILL.md skill
motleyai/living-architecture · plugin/skills/living-architecture/SKILL.md · Reference for the living-architecture layer (LikeC4 structure model + arc42 principles + model-truth import enforcement…
git:20261109.a70fad3 · audit A · 14 stars
make-diff-compliant SKILL.md skill
motleyai/living-architecture · plugin/skills/make-diff-compliant/SKILL.md · Use to bring exactly the source files a PR/branch touches up to the deterministic-refactor compliance conditions…
git:20261005.4057a53 · audit A · 14 stars

Every file in motleyai/living-architecture

Browse by kind, by grade A, or by owner.