curiositech/port-daddy/agent-context-partitioner
Claude Code and agent skill by curiositech/port-daddy
- community
Checking that the SKILL.md file is still in the repository.
Designs and audits deterministic, authority-filtered partitions of trust-typed context for already admitted bodies or abstract continuation slots. Use when causal context, obligations, disclosure boundaries, vector-space identity, capacity, and omission proofs must survive partitioning. NOT for spawning or admitting agents, choosing worker count, retrieving arbitrary knowledge, writing successor prompts, or granting tools, leases, identity, or effect authority.
Install
npx vskill@latest install curiositech/port-daddy/agent-context-partitionerSKILL.md
The same SKILL.md was published earlier as curiositech/port-daddy/agent-context-partitioner.
Agent Context Partitioner
Partition only after authority, disclosure, causality, capability, and capacity are explicit. Optimization may choose among feasible assignments; it may never repair an infeasible one or create a new body.
Activate when
- a sealed Context IR must be assigned across admitted bodies;
- a continuation package needs abstract destination requirements without launching a successor;
- open obligations and unresolved effects must be proven present;
- vector-based cohesion must respect immutable embedding-space identity;
- omissions, transfers, and capacity use need a machine-checkable proof.
Do not activate for
- “spawn more agents,” worker-count selection, or capacity admission;
- identity continuity, process resurrection, or credential transfer;
- general RAG, clustering, prompt writing, or memory retrieval;
- lifecycle fencing, effect reconciliation, capability minting, or lease creation;
- estimating provider quota or subscription usage.
Modes
ACTIVE_SET_PARTITIONtargets exact admitted bodies supplied by another authority.CONTINUATION_REQUIREMENTStargets abstract slots carrying required capabilities and capacity only. A slot has no process, provider session, credential, lease, or identity.
Outputs are FEASIBLE, INFEASIBLE, or UNKNOWN. Never emit READY, AUTHORIZED, ADMITTED, or SPAWN.
Hard order of operations
- Bind the root. Record source snapshot, content digest, policy digest, and complete item inventory.
- Separate guidance from evidence. Only current, audience-matching, revocation-checked guidance may enter a directive channel. Facts and history remain cited data.
- Filter before scoring. Tenant, harbor, repository, disclosure, retention, and capability rules define the feasible set.
- Close dependencies. Every causal parent, open obligation, unresolved effect, and non-droppable item is assigned, transferred through an authorized edge, or blocks the plan.
- Respect capacity. Oversized singleton items and aggregate target overflow are hard failures.
- Choose a deterministic candidate. The optional feasibility helper orders items topologically, then prefers a compatible target already holding causal parents, lower projected capacity use, and target ID. It is a greedy proposal aid, not an optimal partitioner; semantic cohesion remains disabled unless all compared items share one exact
spaceId. - Prove coverage. Every input item receives one inventory disposition:
ASSIGNED,TRANSFERRED,OMITTED_ALLOWED, orBLOCKED.
Context IR invariants
- Only
CURRENT_GUIDANCEwith current envelope, audience, scope, verification, and revocation evidence may be directive. - Primary evidence, cited derivations, historical intent, and untrusted content remain data.
- Open obligations, unresolved effects, lineage, and causal parents are non-droppable.
- Summaries and compactions cannot become primary roots.
- Missing authority, provenance, or revocation evidence yields
UNKNOWN, never a permissive guess. - A tombstone may replace deleted content, but derived vectors and projections must identify the invalidated source revision.
Retrieval-space identity
A vector-bearing item binds model artifact/config, preprocessing, chunker, pooling, dimensions, normalization, metric, coordinate precision, quantization, redaction policy, modality, and derived spaceId. Provider name and transport are provenance, not compatibility.
- Compare vectors only when
spaceIdis identical. - Equal dimensions are insufficient.
- Mismatch disables the semantic objective; it does not authorize full-copy fallback.
- Re-embedding creates a new item revision and separately receipted migration.
See `references/retrieval-space-identity.md` for the exact digest recipe.
Coverage and omission
Allowed omissions are limited to OUT_OF_SCOPE, RETENTION_REDACTED_WITH_TOMBSTONE, EXPIRED_DISPOSABLE, DUPLICATE_CONTENT_HASH, and SUPERSEDED_PROJECTION. DESTINATION_INCOMPATIBLE, UNKNOWN_SOURCE, and SIZE_EXCEEDED are blocking gaps.
Coverage proves completeness only relative to the supplied root and obligation set. It cannot prove the root discovered every relevant fact.
Prepare is not admit
The proposal may feed PrepareContinuation. It does not fence a predecessor, reconcile an effect, reserve capacity, mint a capability, select a process, consume a nonce, or create lineage. A lifecycle authority may later run AdmitSuccessor only after independent fence, effect, capacity, guidance, and context receipts.
Deterministic feasibility helper
`algorithms/partition_feasibility.py` answers a narrower question than the proposal validator: whether supplied items fit supplied, already-admitted targets under stated capacities, audiences, capabilities, and causal parents. It returns UNKNOWN for incomplete inventory evidence and INFEASIBLE for a known constraint gap. Its greedy choice is reproducible, but it does not prove global optimality, authorize a disclosure transfer, discover missing context, or create a successor. Load `references/partition-procedure.md` for the algorithm and its worked limitation.
The diagrams show the two non-negotiable boundaries: feasibility before choice and evidence for cross-target transfer.
Anti-patterns
Optimize, then filter
Wrong: cluster first and remove forbidden assignments later.
Right: authority and disclosure define the feasible graph before any score exists.
Same dimensions, same space
Wrong: compare two 768-dimensional vectors.
Right: require identical immutable spaceId.
K proposal means birth
Wrong: turn a capacity gap into “spawn another worker.”
Right: emit the exact missing capability or capacity with no lifecycle action.
Summary becomes source
Wrong: repartition yesterday's summary.
Right: regenerate from primary roots and use summaries only to test omissions.
Output and validation
- `schemas/context-partition-proposal-v2.schema.json` — closed contract.
- `examples/valid-proposal.json` — canonical no-vector fixture.
- `scripts/validate-context-partition.mjs` — semantic validator and digest recomputation.
- `scripts/test-bundle.mjs` — positive plus adversarial mutations.
- `references/context-ir-and-continuation.md` — field semantics and lifecycle boundary.
- `references/partition-procedure.md` — supplied-inventory greedy procedure and limits.
- `algorithms/partition_feasibility.py` — deterministic proposal-only helper.
- `tests/activation.md` — activation corpus.
Static validity is not optimality, complete discovery, safe execution, or successor admission.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/agent-context-partitioner/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Grok Build (Cursor)
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/curiositech/port-daddy/agent-context-partitioner)