Use immediately for explicit Fabric/Fractal continuity, governance, or handoff requests; fresh or restarted session continuity; and before material release, deployment, migration, privacy, destructive, or blast-radius decisions. Route material decisions through Fabric status, scoped query, and impact before delegation or broad repository inspection. Stay dormant for routine edits, reviews, docs, tests, explanations, and exploration.
Installs into .claude/skills of the current project.
Are you the author of Fabric Agent?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/cognisos-ai-fabric-agent)
---
name: fabric-agent
description: Use immediately for explicit Fabric/Fractal continuity, governance, or handoff requests; fresh or restarted session continuity; and before material release, deployment, migration, privacy, destructive, or blast-radius decisions. Route material decisions through Fabric status, scoped query, and impact before delegation or broad repository inspection. Stay dormant for routine edits, reviews, docs, tests, explanations, and exploration.
---
# Fabric Agent
Apply the repository's Fabric Agent product contract while helping with coding
work. The canonical source package includes source-verified, default-off
lifecycle adapters. The Codex adapter observes non-content session and
compaction events. The Claude Code public beta candidate adapter observes a broader lifecycle
but persists only allowlisted metadata. Inspect the installed package and claim
only the components it actually contains. Exact installation, trust, native
execution, and release support remain unproven until separately evidenced.
## Product boundary
- Treat `Prod_Fabric` as the sole implementation, packaging, verification, and
release authority for this plugin.
- Treat public distribution mirrors as deterministic exports, not as a second
implementation or release authority. External material may be non-normative
design context only.
- Treat the coding harness as owner of model execution, permissions, context,
and orchestration. Claim only the lifecycle events and controls the harness
actually exposes.
- Keep experimental coordination separate from core memory, privacy,
governance, evidence, and adapter readiness.
- Never infer content capture from a lifecycle adapter. The Claude adapter may
receive prompt, tool, assistant, error, and subagent fields from the harness,
but it discards them and persists only the allowlist documented in
`references/adapter-capabilities.md`. Every local event log is opt-in.
## Selective activation
- Activate for an explicit Fabric Agent, Fabric/Fractal continuity, governed
evidence-status, or durable handoff request.
- Activate before delegation or broad repository inspection for a material release,
deployment, migration, privacy-sensitive, destructive, or blast-radius
decision when Fabric indexed evidence could change the decision or a
required check. A named code target can be a symbol, path, or named behavior.
The initial route is
`fabric_status -> fabric_query -> fabric_impact`; ordinary repository search
follows as an independent control. A later impact-only call does not satisfy
this route.
- Stay dormant for ordinary implementation, review, documentation, unit-test,
explanation, and read-only exploration tasks unless one of those conditions
becomes true. Do not run Fabric status or continuity calls as ceremony.
- Load only the reference needed for the active request. An explicit status,
continuity, or governance command is an opt-in to that bounded workflow, not
permission to activate the other planes.
Use this discrimination at the boundary:
| Request | Activation | First route |
|---|---|---|
| Rename a local variable, explain a file, update prose, or run a unit test | dormant | ordinary repository tools |
| Decide whether to release, deploy, migrate, delete, change an auth/privacy boundary, or accept a named blast radius | active | `fabric_status -> fabric_query -> fabric_impact` before broad repository inspection |
| Resume in a fresh or restarted agent process | active | `fractal_status -> fractal_begin -> fractal_recall` |
| Restore context inside the same open agent session | active | `fractal_status -> fractal_rehydrate -> fractal_recall` |
If the harness denies an activated Fabric tool, report the denied evidence once
and continue with ordinary tools only when the risk boundary allows it. Never
claim the denied call ran, and never replace missing indexed evidence with an
unsupported Fabric claim.
For material work delegated to another agent, the parent keeps responsibility
for activation. Before issuing `Agent` or `Task`, complete
`fabric_status -> fabric_query -> fabric_impact` for the named symbol, path, or
behavior. An empty query result does not waive the impact call; preserve the
empty result and assess the named target honestly. Then give the delegate the
exact repository scope, target, evidence refs, and freshness, and require it to
return exact Fabric receipts for independent graph work; a prose statement
that it used Fabric is not a receipt. A read-only continuity delegate follows
the same fresh-session versus in-session distinction and must not turn a
no-persistence instruction into permission for `fractal_begin` or
`fractal_rehydrate`.
## Workflow
1. Ground the exact repository, branch, source revision, installed plugin
version, harness, and available evidence. Label missing identities.
2. Classify the request:
- `passive`: read-only explanation or exploration with no material effect.
- `tracked`: small reversible work that benefits from continuity.
- `governed`: meaningful, risky, external, destructive, privacy-sensitive,
release, or migration work requiring named evidence.
3. For a governed material code decision with a named target, load
`references/tool-routing.md` and run the early
`fabric_status -> fabric_query -> fabric_impact` route before broad
repository inspection. Then use ordinary repository search as an
independent control. Stop and label the indexed evidence unavailable when
scope, freshness, tool availability, or permission prevents that route.
4. For tracked or governed work that depends on prior project context, apply
the activation and continuity workflow in
`references/memory-lifecycle.md`. Do not treat Git state, the lifecycle JSONL
log, or an empty tool result as a Fractal handoff.
5. For governed work, state the required checks before implementation. Preserve
missing, failed, stale, or unobservable checks as blockers.
6. Perform only the authorized work. Do not infer a successful validation from
an agent statement or from the presence of a config file.
7. Report status using only the canonical vocabulary:
- `Fabric Recorded`: durable admission and exact receipt/ref exist.
- `Evidence Complete`: every check in the named evidence profile passed.
- `Fabric Verified`: an independent verifier validated the exact evidence
packet and identities.
8. End governed work with the result, evidence references, limitations,
overrides, and a concise handoff when continuity is useful.
Read `references/tool-routing.md` when code-index evidence, exact Fractal tool
routing, or Shared Fabric boundaries matter. Read
`references/adapter-capabilities.md` before making a hook, privacy, or
cross-harness capability claim.
## Continuity boundary
- Keep unrelated passive work quiet; do not begin or close a memory workflow.
- Before required recall, verify the Fractal authority with `fractal_status`.
A configured path or healthy code index does not establish memory authority.
- Decide the lifecycle mode from the request before selecting tools. Explicit
fresh-session, new-process, restarted-agent, reconnect, or previous-session
language selects `fractal_begin`; do not substitute `fractal_rehydrate`.
Explicit same-open-session, compaction, or context-restoration language
selects `fractal_rehydrate`; do not substitute `fractal_begin`.
- For a new-session resume use exactly `fractal_status -> fractal_begin ->
fractal_recall`. For in-session restoration use exactly `fractal_status ->
fractal_rehydrate -> fractal_recall`. Both acknowledgments may write and
therefore require an authorized write surface. An explicitly read-only
request or an unproven/unauthorized status uses bounded recall without an
acknowledgment and must be labeled `read_only_recall`, not a resumed
lifecycle.
- Close material tracked or governed work only when the user requested durable
closure and status proves the current scope, an authorized local write
surface, `fractal_remember`, and `fractal_finish`. Use the command's approved
composed route: exactly three reviewed, bounded, serial memories in the same
session—`retrieval -> evaluation -> decision`—then exactly one Finish with
`text` set to the bounded literal final response, a 150–600 word
`handoff_text` formatted in exact `Delta: ... Anchors: ... Next: ...` order,
`evidence_refs: [acknowledgment_ref]`, their ordered refs,
`cognitive_chain_status: captured`, and `runtime_tick: false`. The retrieval
cites the current session acknowledgment; the evaluation cites that
acknowledgment then the retrieval ref; the decision cites that acknowledgment,
retrieval ref, and evaluation ref in that order.
- Never copy a raw transcript, prompt, tool input or response, secret,
credential, denied content, or unbounded file excerpt into any memory or
handoff. A correction cites the exact superseded handoff when applicable.
- `fractal_remember` and `fractal_finish` are non-idempotent on the required
runtime. After any failure, timeout, malformed response, or partial receipt,
stop writes and never blindly retry; use bounded status/recall inspection and
preserve every returned ref and stage. Claim `Fabric Recorded` only after a
PASS with an exact admitted handoff ref.
- Prove later cross-session recovery in a genuinely fresh process with exactly
`fractal_status -> fractal_begin -> fractal_recall`. Do not substitute
`fractal_rehydrate`; that acknowledgment is for restoration in the same open
session. If any prerequisite for the composed route is missing, report
`durable_closure_path_unavailable`, preserve a repository handoff as a
non-Fabric fallback, and do not claim `Fabric Recorded`.
- Never write team memory directly. Team continuity requires an explicit share
workflow and its own grant/receipt.
- A lifecycle hook event proves only that the named metadata event was locally
observed. It is not a durable memory admission or completion receipt.
## Claim discipline
- Source, unit tests, synthetic fixtures, installation, host trust, native hook
execution, independent exercise, and supported release are separate facts.
- Never promote a source-only or synthetic result into installed or public
product evidence.
- Use plain `recorded`, `complete`, or `verified` only when the surrounding text
names what was recorded, completed, or verified.
- If evidence is incomplete, say `blocked` or `unproven` and name the next
concrete check.
The normative maintainer contract lives at
`docs/adr/0002-fabric-agent-plugin-product-contract.md` in the authoritative
`Prod_Fabric` source repository. The bundled workflow above is the operational
contract for skills-only distributions.