archi-feature-relations

archi-feature-relations is a skill for Claude Code from JiuNian3219/architext. It costs 37 tokens per session (1,009 once invoked), scanned A, original, MIT.

A helper for maintaining featureRelations links in an Architext map.json file. These links connect related tasks, including tasks that collect or list other tasks.

In plain words
What is it for?
Use it during Architext protocol work to register or update feature relationships when a task aggregates or reflects other task outputs.
Why use it?
It prevents relationships between project features from becoming outdated when related tasks are added or removed.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: mentions subagents.

Good fit Use it during Architext protocol work to register or update feature relationships when a task aggregates or reflects other task outputs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jiunian3219/architext/archi-feature-relations
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 JiuNian3219/architext --skill archi-feature-relations
Clone the repo
git clone --depth 1 https://github.com/JiuNian3219/architext

Made for: Claude Code.

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 archi-feature-relations

README.md
[![agentmods](https://agentmods.dev/badge/skills/jiunian3219/architext/archi-feature-relations/github.svg)](https://agentmods.dev/skills/jiunian3219/architext/archi-feature-relations)
Your own site
<a href="https://agentmods.dev/skills/jiunian3219/architext/archi-feature-relations"><img src="https://agentmods.dev/badge/skills/jiunian3219/architext/archi-feature-relations/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 archi-feature-relations

Your own site · 80×15
<a href="https://agentmods.dev/skills/jiunian3219/architext/archi-feature-relations"><img src="https://agentmods.dev/badge/skills/jiunian3219/architext/archi-feature-relations.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,009 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.
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.00037 $0.01009
Opus 5.5 $0.00015 $0.00404
Sonnet 5.5 $0.00007 $0.00202
Haiku 4.5 $0.00004 $0.00101

Measured 1mo ago against content hash c9a56268e6cd, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

archi-feature-relations 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 1mo ago.

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.

templates/en/skills/archi-feature-relations/SKILL.md · 86 lines

How it starts

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

Invocation

  • Auto-invoke: No, not triggered by model based on description.
  • Trigger location: Only explicitly called via [[SUBAGENT]] / [[NO-SUBAGENT]] in /archi.* protocols.
  • Execution context: When subagent supported must execute in independent subagent/independent context; only downgrade to inline Skill when no subagent.
  • Boundary: Only return protocol-required structured artifacts, subsequent write, confirm and signoff handled by calling protocol.

featureRelations Linkage Handler

Core Concept

Aggregator Task: Task whose core responsibility is to list / aggregate / dynamically reflect another class of Task outputs. When adding or removing source-class Tasks, aggregator Task may need sync.

Aggregator Determination Necessary Conditions (all must be met):

  1. Code-level echo: Iterates / Enumerates / Dynamically loads same-type modules (for (const cmd of allCommands), Object.values(registry), Read directory then dynamic import)
  2. Description-level echo: "Aggregate all X", "Register all X", "List all X", "Dynamically generate X list"

Only matches description-level but actual code is hardcoded list → Not aggregator.

Modes

register

Determine if current Task is aggregator, if so generate one featureRelations append entry.

  1. Analyze task_context.spec + goal + description
  2. Compare against aggregator necessary conditions all met → Aggregator; otherwise non-aggregator
  3. Aggregator → Output updates: { action: "append", entry: { aggregator, sources, evidence, checkNote } }
    • aggregator: Task ID
    • sources: Source range description, prefer pattern match over enumeration (e.g. "All /archi.* command protocols" not "/archi.init, /archi.plan, ...")
    • evidence: Original sentence extracted from spec/goal, proving judgment basis
    • checkNote: "When added or removed, check if needs sync"
  4. Non-aggregator → Output NOT AGGREGATOR + judgment reason (which necessary condition not hit)

Read the full file on GitHub · 86 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. 1mo ago First seen · 86 lines · 37 tokens per session scan A c9a56268e6cd

Subscribe to this mod's changes

archi-feature-relations is a skill published in the GitHub repository JiuNian3219/architext (14 stars, last pushed 5mo ago), licensed MIT. It adds 37 tokens to every session and 1,009 once invoked, about $0.0001 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-08-30.

Related

Other skills, from other repositories