agentleFS
loopx-projectloopx-project/loopx/skills/loopx-material/SKILL.md

loopx-material

Skill6.8k starsChanged 2 months agoApache-2.0View on GitHub

Operate an explicitly activated LoopX Material Lifecycle for a connected project. Use for material-store inventory, lossless migration, candidate/archive transitions, exact-read-backed ranking, ranked-entry rebuilds, bounded Explore intake, owner-gated apply, rollback, and audit. Do not use for ordinary one-off reading or research when the project has not activated Material Lifecycle.

1 other project uses a version of this.

Trending

More talk lately.about the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 0 mentionsJul 2026: 0 mentionsAug 2026: 0 mentionsSep 2026: 0 mentionsOct 2026: 14 mentionsNov 2026: 36 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the loopx-project/loopx repository that our weekly crawl found. There is no adoption data for this file yet.

Most recently taken up by

Who's talking about loopx-project/loopx

The biggest 5 of 50 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 50

Talked about on GitHub (50 times).

On GitHub · 50

45 more on GitHub

The file

Show its rules and text

We split this skill into the rules it gives an agent

27 rules. About 0 are common, 23 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈23

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill for the lifecycle and authority of a project's durable material store.

    line 8
  2. Very specific:

    Use --surface antigravity, --surface claude-code, --surface kiro-cli, --surface opencode, or --surface pi for those hosts.

    line 24
  3. Distinctive:

    Before changing a material store:

    line 35
  4. Very specific:

    Run loopx material-lifecycle architecture --format json and preserve its default-off, owner-gated, provider-neutral boundaries.

    line 58
  5. Distinctive:

    If the project-local skill is missing, preview an explicit project install.

    line 64
  6. Distinctive:

    Keep these responsibilities separate:

    line 71
  7. Distinctive:

    Read the source authority before proposing structural change.

    line 88
  8. Distinctive:

    Keep raw content, private paths, URLs, provider payloads, and credentials out of public packets and commits.

    line 92
  9. Distinctive:

    No migration, rebuild, or rerank may begin from an unverified partial parse.

    line 97
  10. Distinctive:

    Use stable material references across:

    line 101
  11. Distinctive:

    Every transition needs a revisioned evidence or decision reference.

    line 109
  12. Distinctive:

    Do not start Explore merely because the current list feels incomplete.

    line 123
  13. Distinctive:

    Before reporting candidate intake complete, settle its ranking against the current Decision Context:

    line 129
  14. Distinctive:

    keep candidate intake and ranking as separate receipts and, when ranking changes, separate authority revisions.

    line 140
  15. Distinctive:

    If ranking apply, readback, projection, or rollback readiness fails, repair or roll back before reporting the intake as complete.

    line 147
  16. Distinctive:

    Default to at most three primary materials per ranked entry.

    line 155
  17. Distinctive:

    When an entry exceeds the limit, create deterministic child entries and rank them independently.

    line 156
  18. Distinctive:

    Do not hide overflow in an unranked supporting index.

    line 158
  19. Distinctive:

    Keep an explicit ranked backlog beyond a visible Top-N.

    line 162
  20. Very specific:

    Load-bearing primary-over-secondary audit before rerank: verify required_load_bearing_refs are already ingested and ranked before planning …

    line 193
  21. Very specific:

    Use material_rerank_receipt_chunks when a transition affects more than 100 refs.

    line 207
  22. Distinctive:

    Keep proposal and apply receipt separate.

    line 212
  23. Distinctive:

    keep at most three primary materials per entry.

    line 220
  24. Distinctive:

    keep project-specific taxonomy, summaries, judgments, links, and language in the private project adapter.

    line 222
  25. Distinctive:

    never treat the readable Markdown as ranking or source authority.

    line 225
  26. Distinctive:

    After apply, read the destination back and write an audited receipt.

    line 244
  27. Distinctive:

    Stop without mutating the source when:

    line 282

≈ “Common” is an estimate: at least 1 in 5 of the 383,637 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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 antigravity, --surface claude-code, --surface kiro-cli, --surface opencode, or --surface pi for those hosts; repeat the flag to install multiple host-native copies in one transaction. Managed copies live under .agents/skills/, .agent/skills/, .claude/skills/, .kiro/skills/, .opencode/skills/, or .pi/skills/ and are upgraded or removed through the same CLI. Project-local discovery does not itself activate material-store writes; the selected execution owner still needs explicit Material Lifecycle source authority.

Activation Gate

Before changing a material store:

  1. Resolve the current project and execution owner. For a Goal route, use the existing registered agent/active Todo. For an ordinary project route, resolve the current Core project context and accepted request from the active native turn of the calling verified local owner host (Codex, Antigravity, Claude Code, OpenCode, Kiro CLI, etc.) or an authorized native Bot turn under the same Core workspace write grant; never run start-goal, invent a dummy Goal merely to obtain material metadata, or borrow another host's turn or session identity.
  2. Run loopx project-skill status --project . --skill loopx-material and confirm the required host surfaces are current.
  3. Require explicit activation: either the selected Goal Todo targets material_lifecycle/the Goal declares its source profile, or the project source owner declares an active material profile and an existing Core workspace write grant. A catalog entry, scope reference or skill copy is not activation.
  4. Confirm the Goal boundary or Core project write grant covers the exact private adapter/authority paths. The project source verifier must bind the calling verified local owner host's active native turn (or authorized native Bot turn), audience, store/profile and owner gate, including expiry and revocation. Ref names never grant access; enforce the authorization fence within staging/publication as well as preflight checks.
  5. Run loopx material-lifecycle architecture --format json and preserve its default-off, owner-gated, provider-neutral boundaries. The project source route supports inventory, candidate intake/rollback, rerank packets, readable projection and settlement; it does not widen Goal-only migration, rebuild or Explore APIs.

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.

Ownership Boundary

Keep these responsibilities separate:

  • Project source adapter: locates and reads the project's private source files, database, documents, or provider.
  • Research/reader skill: recalls candidates, performs exact reads, and produces source-quality and domain-value evidence.
  • Decision Context: supplies revision-bound objectives, changed facts, conflicts, and accepted decisions.
  • Material Lifecycle: owns inventory, migration, lifecycle transitions, ranked-entry rebuild, rerank proposals, apply receipts, and rollback.
  • Content or notes workflow: consumes selected material and produces an artifact; it does not rewrite candidate/archive/ranking truth by itself.

Workflow

1. Snapshot And Inventory

Read the source authority before proposing structural change.

  • Record source revision, byte/content digest, lifecycle counts, parse errors, stable material references, and a verified backup.
  • Keep raw content, private paths, URLs, provider payloads, and credentials out of public packets and commits.
  • Preserve the original source until a verified cutover and rollback rehearsal have both succeeded.

No migration, rebuild, or rerank may begin from an unverified partial parse.

2. Normalize Lifecycle

Use stable material references across:

candidate -> active -> archived
                 \-> carryover
archived -> active

Every transition needs a revisioned evidence or decision reference. Archiving must preserve the original source reference and an archive reference. Reading, summarizing, or publishing a note does not implicitly archive a material.

3. Promote Exact-Read Evidence

Recall is advisory. Before a material affects ranking or lifecycle:

  1. retrieve the candidate through the configured provider or local search;
  2. exact-read the authoritative source;
  3. record source revision and read scope;
  4. reject stale, conflicting, unreadable, or only-secondary claims;
  5. pass only promoted evidence into Decision Context or ranking.

Do not start Explore merely because the current list feels incomplete. Explore begins only from a named evidence gap, bounded query plan, budget, and stop condition.

4. Settle Candidate Ranking

Before reporting candidate intake complete, settle its ranking against the current Decision Context:

  • record exactly one disposition: top_window, ranked_backlog, or no_change;
  • let the project adapter classify value from exact-read evidence, current objectives, overlap, and artifact convertibility rather than tier alone;
  • require high-value materials to gain verified membership in the Top-N or explicit ranked backlog;
  • require a reason for no_change and use it only for standard-value or substantially duplicative materials;
  • keep candidate intake and ranking as separate receipts and, when ranking changes, separate authority revisions; then join them with an intake-ranking settlement receipt;
  • preserve displaced Top-N entries in the ranked backlog and preserve protected anchors unless changed Decision Context or explicit owner authority moves them.

If ranking apply, readback, projection, or rollback readiness fails, repair or roll back before reporting the intake as complete.

5. Rebuild Ranked Entries

A ranked entry must represent one independently sortable reading or action unit, not a display bucket.

  • Default to at most three primary materials per ranked entry.
  • When an entry exceeds the limit, create deterministic child entries and rank them independently.
  • Do not hide overflow in an unranked supporting index.
  • Preserve exact membership: every selected material appears exactly once across the ranked set.
  • Preserve stable material references and canonical source records.
  • Keep an explicit ranked backlog beyond a visible Top-N.

Splitting is semantic, not mechanical. Group materials only when they jointly support one decision or learning outcome; separate materials whose value, urgency, reader action, or evidence maturity differs.

6. Propose A Bounded Rerank

Rerank from revision-bound Decision Context evidence.

  • Protect explicitly pinned entries and the project's declared stable prefix; a visible Top-N alone does not declare either protection.
  • Limit moved entries and rank displacement unless the owner explicitly approves a structural rebuild.
  • For one ranked material's evidence-backed move, use plan_material_single_move with the complete ranked set, including backlog. Preserve all other relative order and use its exact interval bounds in the existing proposal. Recompute that preview before apply; do not relax the constraints of a historical proposal.
  • For multi-item shortlist rebalancing, use plan_material_wave_rerank (or loopx material-lifecycle plan-wave-rerank --input <path-or-->) over the complete ranked set before building material_rerank_proposal_v0, enforcing all three ranking quality rules:
    1. Horizon-wave and effort-band stratification: order annotated materials across imminent_gate, active_sprint, foundational_track, and orthogonal_backlog with cost-adjusted VOI (quick_slice /1.0, focused_study /2.0, deep_monograph /6.0). Automatically stratify unsliced deep_monograph items (scoped_slice_ready=False) declared in imminent_gate or active_sprint into foundational_track so multi-week courses or monographs never block quick high-VOI slices unless an explicit bounded chapter/section slice is ready.
    2. Load-bearing primary-over-secondary audit before rerank: verify required_load_bearing_refs are already ingested and ranked before planning a rerank (settle candidate intake first when any load-bearing primary is missing or rank=None), enforce topological primary-over-secondary precedence (primary_source_refs strictly ahead of secondary commentary), and keep active-deliverable load-bearing primaries (blocks_active_deliverable=True, evidence_role="load_bearing_primary") inside top_window_size.
    3. Orthogonal-signal Top-Window cap: cap orthogonal_backlog and orthogonal_signal items inside 1..top_window_size via max_orthogonal_in_top_window (default 0) whenever non-orthogonal ranked items remain below top_window_size, shifting excess general-trend items cleanly to the start of ranked_backlog while keeping untouched backlog items in their exact original relative order.
  • Use material_rerank_receipt_chunks when a transition affects more than 100 refs. Build all existing receipts before CAS and persist all after readback; verify complete coverage under the same proposal, revisions and owner gate.
  • Distinguish a rank move from lifecycle change and from new candidate intake.
  • Emit a no-change proposal when evidence does not justify movement.
  • Keep proposal and apply receipt separate.

7. Build A Readable Projection

The managed catalog remains authority, but operators need a readable view. Build that view from exact-read-backed presentation records:

  • preserve contiguous ranks and the explicit ranked backlog;
  • keep at most three primary materials per entry;
  • require every expected selected material exactly once;
  • keep project-specific taxonomy, summaries, judgments, links, and language in the private project adapter;
  • emit a content-free receipt with revision, counts, digest, and verification;
  • never treat the readable Markdown as ranking or source authority.

LoopX owns validation, rendering, and the content-free receipt contract. The project adapter owns source parsing and supplies already-promoted display records. One-time legacy parsing and migration scripts remain project-local.

8. Apply With A Lossless Gate

Preview first. Apply only when all are true:

  • source and backup digests still match the inventory;
  • parse errors are zero or explicitly owner-approved;
  • expected source/canonical counts match;
  • ranked coverage and unique membership are exact;
  • protected entries remain valid;
  • compare-and-swap revision matches;
  • rollback has been rehearsed;
  • the owner gate authorizes this exact plan.

After apply, read the destination back and write an audited receipt. On any mismatch, restore the previous authority and record the blocker. Never report "migration complete" from a preparation plan alone.

Project Adapter Contract

A project-specific skill or AGENTS.md may define:

  • source locations and private provider setup;
  • topic taxonomy and domain scoring;
  • reading tools and source-specific fallbacks;
  • user-specific priorities;
  • note/archive destinations and public/private redaction;
  • concrete backup and restore commands.

It should reference this skill instead of duplicating generic migration, ranking, rebuild, apply, or rollback rules. Project rules may tighten these invariants but must not weaken them.

Completion Evidence

A complete material operation reports:

  • source and destination revisions;
  • backup and source-digest verification;
  • parsed and canonical counts;
  • lifecycle-count delta;
  • intake ranking disposition and value classification;
  • ranked-entry count and maximum primary-member count;
  • exact coverage and duplicate count;
  • promoted/rejected exact-read evidence;
  • proposal and apply receipt references;
  • intake-ranking settlement receipt reference;
  • rollback result;
  • next bounded action or explicit no-change.

Stop Conditions

Stop without mutating the source when:

  • the project or current execution owner is ambiguous;
  • Material Lifecycle is not explicitly active for the selected Goal or the ordinary project's source profile with its existing Core write grant;
  • a project source route attempts Goal-only migration, rebuild or Explore;
  • source authority, backup, revision, or stable ids cannot be verified;
  • exact-read evidence conflicts with the proposed change;
  • overflow would be hidden rather than independently ranked;
  • a migration would lose bytes, records, references, or recoverability;
  • the required owner gate, write scope, or rollback path is absent;
  • public output would expose private material or credentials.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.