archinsight

archinsight is a skill for Claude Code, Codex from lonely-lockley/archinsight. It costs 84 tokens per session (1,759 once invoked), scanned A, original, Apache-2.0.

A tool for creating, editing, importing, checking, repairing, and rendering architecture models in Archinsight's .ai format. It represents systems and their parts, including deployment views and C4-style diagrams.

In plain words
What is it for?
Use it to work with .ai architecture files, migrate models from other diagram languages, inspect system structure, and validate or render architecture views.
Why use it?
Architecture diagrams and descriptions can become inconsistent or hard to validate when maintained by hand. This tool provides commands for inspecting and checking the model, but the input does not specify the full command set.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to work with .ai architecture files, migrate models from other diagram languages, inspect system structure, and validate or render architecture views.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lonely-lockley/archinsight/claude
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add lonely-lockley/archinsight --skill claude
Clone the repo
git clone --depth 1 https://github.com/lonely-lockley/archinsight

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for archinsight

README.md
[![agentmods](https://agentmods.dev/badge/skills/lonely-lockley/archinsight/claude/github.svg)](https://agentmods.dev/skills/lonely-lockley/archinsight/claude)
Your own site
<a href="https://agentmods.dev/skills/lonely-lockley/archinsight/claude"><img src="https://agentmods.dev/badge/skills/lonely-lockley/archinsight/claude/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for archinsight

Your own site · 80×15
<a href="https://agentmods.dev/skills/lonely-lockley/archinsight/claude"><img src="https://agentmods.dev/badge/skills/lonely-lockley/archinsight/claude.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 84 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,759 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 65
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00084 $0.01759
Opus 5 $0.00042 $0.00879
Sonnet 5 $0.00017 $0.00352
Haiku 4.5 $0.00008 $0.00176

Measured today against content hash 295100d1502f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

archinsight scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

archinsight-cli/src/skill/resources/targets/claude/SKILL.md · 163 lines

How it starts

The opening of the file, as written. The whole thing — 163 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Archinsight

Use this skill when creating, analyzing, or repairing Insight .ai models and .aiq custom views, or when importing an existing architecture description into Insight.

Insight is its own typed architecture-as-code language. Do not infer its syntax from YAML, Mermaid, PlantUML, Structurizr, or C4 DSL.

Claude Usage Notes

Treat this SKILL.md as the entrypoint and load routed references only when the task needs them. With shell access, run validation directly. Without it, ask the user to run the exact command and paste the output. Do not silently install npm packages or change machine configuration.

This package was generated by Archinsight CLI {{CLI_VERSION}}. Run archinsight --version before editing. If the installed version differs, regenerate the skill so its references, core sources, examples, and built-in queries match the runtime.

Required Tool

Use the Archinsight CLI as the validation source of truth:

archinsight --help
archinsight link . --format text

If archinsight is not available in Claude's environment, read references/cli.md. Do not install or update packages without the user's authorization.

Task modes

Choose one mode before acting:

  • Analyze: stay read-only and follow references/analysis.md. Inspect sources, run structure, link, and the relevant query, then separate authored facts, derived relationships, deployment projections, and rendered presentation in the findings.
  • Repair: reproduce the defect first. For a visual defect, inspect archinsight query ... --format json before treating the image as evidence that the model is wrong. Request the current image or rendered output when it is not available, make the smallest model or query change, and validate the same semantic path again before rendering.
  • Build or rebuild: perform discovery before editing, then model from the outside inward and validate after each architectural layer.
  • Extend an existing model: inventory existing ids, imports, edges, and view scope; preserve stable identities and compare linked/query results before and after each focused change.
  • Import an existing model: follow references/importing-models.md. Establish which source artifacts are authoritative, translate facts rather than drawing layout, record uncertain mappings, and validate one architectural layer at a time.

Read the full file on GitHub · 163 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today Changed · +5 lines · +7 tokens per session 295100d1502f
  2. 2d ago First seen · 158 lines · 77 tokens per session scan A 7530cd427302

Subscribe to this mod's changes

archinsight is a skill published in the GitHub repository lonely-lockley/archinsight (88 stars, last pushed today), licensed Apache-2.0. It adds 84 tokens to every session and 1,759 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-06.

Related

Other skills, from other repositories

likec4-architecture

Build and maintain software architecture as code with LikeC4 DSL. Use when tasks mention architecture diagrams, C4/context/container/component views, system landscape, dependency/integration maps, or when the user wants architecture generated/evolved from code. Apply for creating new .c4/.likec4 models, updating…

timseriakov/likec4-architecture-skill · 87 tokens

pr-lens

WHAT: Draws a code change or part of a codebase as an animated architecture or data-flow diagram, on its own or in a pull request. WHEN: asked to diagram, visualise or explain a change or a system, or when a pull request should carry a diagram. KEYWORDS: PR Lens, diagram, architecture, data flow, visualise, visualize…

coldteadotai/pr-lens · 81 tokens

FlowForge

A draw.io diagram tool that turns a description or document into editable visual diagrams. Draw.io is software for making flowcharts, system diagrams, and other structured illustrations.

wentong2022-arch/flowforge-skill · 153 tokens

draw-io

Generate and validate draw.io diagrams in XML format. Strict quality rules for font settings, edge routing, containers, layers, and Japanese text. 23-rule validator with CLI. Use for flowcharts, architecture diagrams, sequence diagrams in .drawio format.

ekusiadadus/draw-mcp · 55 tokens

dochub-architect

A tool-assisted workflow for creating and moving architecture diagrams into a DocHub YAML repository. It works with DrawIO and PlantUML diagrams using the C4 model, a way to describe systems at different levels of detail.

john7ross/dochub-architect-tool · 136 tokens

pr-lens

WHAT: Draws a code change or part of a codebase as an animated architecture or data-flow diagram, on its own or in a pull request. WHEN: asked to diagram, visualise or explain a change or a system, or when a pull request should carry a diagram. KEYWORDS: PR Lens, diagram, architecture, data flow, visualise, visualize…

coldteadotai/pr-lens · 81 tokens