loopx-material

A LoopX workflow for managing durable project materials, such as stored notes or research records, through their lifecycle. It covers inventory, migration, ranking, archiving, applying changes, rollback, and audit records.

In plain words
What is it for?
Use it to inspect a material store, migrate or archive entries, rebuild ranked lists, bring in bounded new material, apply approved changes, roll back changes, and review the audit trail.
Why use it?
It provides controlled handling for project knowledge so materials can be moved, ranked, or changed without losing their history or bypassing project authorization.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/huangruiteng/loopx/loopx-material
Any agent
npx skills add huangruiteng/loopx --skill loopx-material
Clone the repo
git clone --depth 1 https://github.com/huangruiteng/loopx

Made for: Claude Code, Codex.

Per session 74 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,009 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00074 $0.02009
Opus 5 $0.00037 $0.01005
Sonnet 5 $0.00015 $0.00402
Haiku 4.5 $0.00007 $0.00201

Measured 2d ago against content hash 234f7ed6b5f2, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

loopx-material 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 2d 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.

skills/loopx-material/SKILL.md · 240 lines

How it starts

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

LoopX Material

Use this skill for the lifecycle and authority of a project's durable material store. Source discovery, domain-specific scoring, and note writing may be provided by project skills; this skill owns the generic lossless lifecycle.

LoopX ships the canonical source for this skill, but does not install it into the user's global skill directory. Install a managed copy only in a connected project that explicitly enables Material Lifecycle:

loopx project-skill install \
  --project . \
  --skill loopx-material \
  --surface codex \
  --execute

Use --surface claude-code or --surface opencode for those hosts; repeat the flag to install multiple host-native copies in one transaction. Managed copies live under .agents/skills/, .claude/skills/, or .opencode/skills/ and are upgraded or removed through the same CLI. Project-local discovery does not itself activate material-store writes; the selected goal still needs explicit Material Lifecycle authority.

Activation Gate

Before changing a material store:

  1. Resolve the current project, goal_id, registered agent, and active todo through loopx start-goal --guided, loopx status, or loopx diagnose.
  2. Run loopx project-skill status --project . --skill loopx-material and confirm the required host surfaces are current.
  3. Confirm the selected todo explicitly targets material_lifecycle, or that the goal authority declares an active Material Lifecycle profile and its source store. A catalog entry or project-local skill is not activation.
  4. Confirm the goal boundary covers the exact private adapter and authority paths. Public LoopX contracts never grant access to private source content.
  5. Run loopx material-lifecycle architecture --format json and preserve its default-off, owner-gated, provider-neutral boundaries.

If the project-local skill is missing, preview an explicit project install; do not fall back to a global copy. If activation or authority is missing, stop before source mutation. Create a bounded setup todo or owner gate; do not invent a store or treat chat history as authority.

Read the full file on GitHub · 240 lines

Files

What ships with it

2 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. 2d ago First seen · 240 lines · 74 tokens per session scan A 234f7ed6b5f2

Subscribe to this mod's changes

loopx-material is a skill published in the GitHub repository huangruiteng/loopx (5,394 stars, last pushed today), licensed Apache-2.0. It adds 74 tokens to every session and 2,009 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-08-30.