archify-pr

archify-pr is a skill for Claude Code, Codex from tt-a1i/archify. It costs 98 tokens per session (1,530 once invoked), scanned A, original, Apache-2.0.

A tool for explaining branch changes, pull requests, and merge requests with diagrams. It shows how changed code, data, system parts, and asynchronous states relate to one another.

In plain words
What is it for?
Use it to visualise GitHub pull requests, GitLab merge requests, branches, and diffs with architecture, workflow, sequence, ERD, or lifecycle views.
Why use it?
A text diff can be difficult to follow when a change affects architecture, workflows, schemas, or delayed processing. The diagrams make those relationships easier to inspect without issuing a risk verdict.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

Good fit Use it to visualise GitHub pull requests, GitLab merge requests, branches, and diffs with architecture, workflow, sequence, ERD, or lifecycle views.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tt-a1i/archify/archify-pr
About the project

Archify is a system that turns codebases or system descriptions into interactive architecture, workflow, sequence, data-flow, and lifecycle diagrams. Developers use it to inspect, review, compare, and share system designs, while its catalogue skill provides the agent workflow for creating and validating those diagrams.

tt-a1i/archify · 101,461 stars · on GitHub · archify.si

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 tt-a1i/archify --skill archify-pr
Clone the repo
git clone --depth 1 https://github.com/tt-a1i/archify

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 archify-pr

README.md
[![agentmods](https://agentmods.dev/badge/skills/tt-a1i/archify/archify-pr/github.svg)](https://agentmods.dev/skills/tt-a1i/archify/archify-pr)
Your own site
<a href="https://agentmods.dev/skills/tt-a1i/archify/archify-pr"><img src="https://agentmods.dev/badge/skills/tt-a1i/archify/archify-pr/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 archify-pr

Your own site · 80×15
<a href="https://agentmods.dev/skills/tt-a1i/archify/archify-pr"><img src="https://agentmods.dev/badge/skills/tt-a1i/archify/archify-pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 98 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,530 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
  • Socket pass 25 Nov 2026
  • Snyk warn 25 Nov 2026
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.00098 $0.01530
Opus 5.5 $0.00039 $0.00612
Sonnet 5.5 $0.00020 $0.00306
Haiku 4.5 $0.00010 $0.00153

Measured 7d ago against content hash 0b5dd9b781a2, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

archify-pr 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 7d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (bin/archify-pr.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

archify-pr/SKILL.md · 98 lines

How it starts

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

Archify PR

Turn a branch change or pull request into diagrams that show what changed, where it propagates, and with what neighbours. Read the code as the authority; report evidence, never a risk verdict.

Every command goes through this Skill's wrapper, bin/archify-pr.mjs:

node <archify-pr-root>/bin/archify-pr.mjs pr validate <manifest.json> --repo-root <repo> --json

The wrapper delegates unchanged to the installed core archify/bin/archify.mjs. It never downloads or installs anything.

Route the request

Explicit PR visualization

When the user asks to explain or visualize a PR, a branch change, or a git diff, or to run archify pr, start the workflow directly. Read references/pr-workflow.md, pin the three-dot range from git merge-base, and build the pack; do not ask whether a diagram is wanted.

For GitLab merge requests, build static views with --platform gitlab and attach them to a comment using the full MR URL. On GitHub, use the target from the request or preflight policy. When only the default applies and the shared PR already has a written description, show the attach dry run or confirm the target before writing.

Ordinary PR preparation

When the user only asks to create or summarize a PR:

  1. Run node <archify-pr-root>/bin/archify-pr.mjs pr preflight --repo-root <repo> --json. Pass the PR base with --base <ref> when it differs from the repository default.
  2. Read policy and materiality from the result.
  3. Follow the mode:
    • on-demand: stay silent and complete the text-only PR flow.
    • ask: make the optional offer only when the filter recommends it.
    • proactive (opt-in only): attach a diagram to a material PR without asking.

Interaction modes

  • ask (default, no rules line needed): offer diagrams for material changes only, then follow the user's answer.
  • on-demand: never offer; act only on an explicit request. Rule line: [archify pr: on-demand].
  • proactive: build and attach for material changes without asking. Only when the user explicitly requests this mode. Rule line: [archify pr: proactive].

Read the full file on GitHub · 98 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 7d ago First seen · 98 lines · 98 tokens per session scan A 0b5dd9b781a2

Subscribe to this mod's changes

archify-pr is a skill published in the GitHub repository tt-a1i/archify (101,461 stars, last pushed today), licensed Apache-2.0. It adds 98 tokens to every session and 1,530 once invoked, about $0.0004 per session on Opus 5.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-11-23.

Related

archify-pr compared with skills from other repositories

archify-pr next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
archify-prtt-a1i/archifySkill101ktodayApache-2.0A98Claude Code, Codex
prYeachan-Heo/oh-my-claudecodeSkill41ktodayMITA47Claude Code
get-pr-commentsYeachan-Heo/oh-my-claudecodeSkill41ktodayMITA43Claude Code
stacked-deliveryYeachan-Heo/oh-my-claudecodeSkill41ktodayMITA60Claude Code
pr-stewardagent-of-empires/agent-of-empiresSkill5.2ktodayMITA130Claude Code, Codex
pre-publish-reviewcode-yeongyu/oh-my-openagentSkill71ktodaynoneA161Claude Code, Codex
work-with-prcode-yeongyu/oh-my-openagentSkill71ktodaynoneA211Claude Code, Codex