packet-factory

packet-factory is a skill for Claude Code, Codex from open-gitagent/opengap. It costs 41 tokens per session (363 once invoked), scanned A, original, MIT.

A work-packet process for tasks that cause side effects, such as sending a message. It requires an approved packet with a fixed purpose and destination before dispatching the task.

In plain words
What is it for?
Use it to create, review, approve, and dispatch controlled operational tasks. It is suited to workflows where actions must be logged and their scope must remain fixed.
Why use it?
It prevents unapproved actions and limits scope changes during execution. New work outside an approved packet must be recorded as a separate packet.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create, review, approve, and dispatch controlled operational tasks. It is suited to workflows where actions must be logged and their scope must remain fixed.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/open-gitagent/opengap/packet-factory
About the project

OpenGAP is a framework-independent standard for defining AI agents as Git repositories, using files such as an agent manifest and identity document. It is intended for portable, version-controlled agents that can be adapted to systems such as Claude Code, OpenAI, LangChain, CrewAI, and AutoGen. The catalogue skills represent workflows and extensions built around this agent format.

open-gitagent/opengap · 2,981 stars · on GitHub · gitagent.sh

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 open-gitagent/opengap --skill packet-factory
Clone the repo
git clone --depth 1 https://github.com/open-gitagent/opengap

Made for: Claude Code, Codex.

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 packet-factory

README.md
[![agentmods](https://agentmods.dev/badge/skills/open-gitagent/opengap/packet-factory/github.svg)](https://agentmods.dev/skills/open-gitagent/opengap/packet-factory)
Your own site
<a href="https://agentmods.dev/skills/open-gitagent/opengap/packet-factory"><img src="https://agentmods.dev/badge/skills/open-gitagent/opengap/packet-factory/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 packet-factory

Your own site · 80×15
<a href="https://agentmods.dev/skills/open-gitagent/opengap/packet-factory"><img src="https://agentmods.dev/badge/skills/open-gitagent/opengap/packet-factory.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 363 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00041 $0.00363
Opus 5.5 $0.00016 $0.00145
Sonnet 5.5 $0.00008 $0.00073
Haiku 4.5 $0.00004 $0.00036

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

Security

Grade A, and why

packet-factory 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.

examples/jason-my-claw-is-the-law-deebee-4567b4/skills/packet-factory/SKILL.md · 43 lines

What it actually says

Packet Factory

The packet factory is the gatekeeper between intent and execution. Nothing with a side effect runs without an APPROVED packet.

Commands

# Create a new packet (DRAFT status)
skills/packet-factory/new-packet.sh \
  --intent "Post daily update to Slack #arc-angels" \
  --source "Ludo DM 2026-04-01 09:00" \
  --destination "Slack #arc-angels"

# Review a packet (set APPROVED or REJECTED)
skills/packet-factory/review-packet.sh --id 2026-04-01-001

# Dispatch an APPROVED packet (executes and logs output)
skills/packet-factory/dispatch-packet.sh --id 2026-04-01-001

Packet Queue

All in-flight packets live in memory/packet-queue.md.

The heartbeat pre-flight check reads this file. DRAFT packets older than 24h are escalated to Ludo.

Scope Lock Rule

Once a packet is APPROVED, scope_locked_at is set and the scope field is frozen.

If the task grows (new deliverable discovered, Ludo asks for something extra), the current packet is dispatched as-is and a new packet is created for the expansion. Never mutate an approved packet's intent or output.

This prevents the single most common failure mode: scope creep → context balloon → session death.

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 · 43 lines · 41 tokens per session scan A 86df1647ffe1

Subscribe to this mod's changes

packet-factory is a skill published in the GitHub repository open-gitagent/opengap (2,981 stars, last pushed 3mo ago), licensed MIT. It adds 41 tokens to every session and 363 once invoked, about $0.0002 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.