Skip to content
Back to skills

Octopus Architecture

ASecurity

Review system architecture, simplify boundaries, or compare interface designs from repository evidence

  • 4,170 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added May 28, 2026
ai-agentsshell

Works with

  • claude code
  • cli

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 20, 2026

npx -y skills add nyldn/claude-octopus --skill octopus-architecture --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Octopus Architecture?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Octopus Architecture
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nyldn-octopus-architecture/badge)](https://www.skillsdirectory.com/skills/nyldn-octopus-architecture)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: octopus-architecture
description: "Review system architecture, simplify boundaries, or compare interface designs from repository evidence"
disable-model-invocation: true
---

> **Host: Codex CLI** — This skill was designed for Claude Code and adapted for Codex.
> Cross-reference commands use installed skill names in Codex rather than `/octo:*` slash commands.
> Use the active Codex shell and subagent tools. Do not claim a provider, model, or host subagent is available until the current session exposes it.
> For host tool equivalents, see `skills/blocks/codex-host-adapter.md`.


# Architecture review

Load `skills/blocks/engineering-method-selection.md` from the installed plugin
and apply only the methods relevant to this task. Preserve this entry point's
execution contract and output format. Read referenced skills as instructions;
do not invoke the current command recursively or add provider calls from a seat.

Run this method on the current host. A routine architecture review makes zero additional provider dispatches.
`--peer-review`, an explicit independent-review
request, or an existing risk policy may add one bounded external reviewer through
Octopus routing. Report incomplete independent coverage if that reviewer cannot
read the source or does not return a grounded contribution.

## Method

Read and apply `skills/blocks/architecture-simplification.md` from the installed
plugin root. Pin the source revision and inspect implementation, callers, tests,
recent churn, and failure behavior before recommending a boundary.

For a single simplification, produce one evidence-backed interface. For a design
choice, produce two alternatives from the same immutable requirements:

- Draft A minimizes caller knowledge and configuration.
- Draft B makes the next demonstrated extension easier.

Label two host-generated drafts as correlated alternatives from one model. If an
independent reviewer is authorized, send it the same source and requirements but
not Draft A before its first response. Transport diversity does not prove model
family diversity. Unknown family means unknown independence.

## Completion

Return `Evidence`, `Caller contract`, `Proposed interface`, `Migration`, `Test
impact`, and `Decision`. The decision is `keep`, `simplify`, or `investigate`.
`simplify` requires exact source evidence and a concrete caller example. A design
review never authorizes an automatic refactor.

## LSP Integration

When the host exposes language-server tools, use document symbols, workspace
symbols, definitions, and references to confirm module boundaries and caller
relationships before proposing an interface. Treat LSP results as an index:
verify consequential claims against source and tests, and fall back to
repository search when the language server is unavailable or incomplete.

Adapted from `codebase-design` and `DESIGN-IT-TWICE` in `mattpocock/skills` at
commit `3cca18b368ae95cdbdebbff572ccafa662551015` under the MIT License. See
`THIRD_PARTY_NOTICES.md`.

Files in this skill

  • SKILL.md5.4 KB
  • agents/openai.yaml170 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.