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

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,925 stars · on GitHub

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/open-gitagent/opengap/packet-factory
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.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.svg" alt="Measured on agentmods" 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. 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.00041 $0.00363
Opus 5 $0.00020 $0.00181
Sonnet 5 $0.00008 $0.00073
Haiku 4.5 $0.00004 $0.00036

Measured 5d ago against content hash 86df1647ffe1, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 5d 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. 5d 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,925 stars, last pushed 2mo ago), licensed MIT. It adds 41 tokens to every session and 363 once invoked, about $0.0002 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.

Related

Other skills, from other repositories

hive.colony-progress-tracker

Claim tasks, record step progress, and verify SOP gates in the colony SQLite queue. Applies when your spawn message includes a dbpath field.

aden-hive/hive · 36 tokens

kano-backlog

Prioritize and refine a GitHub Issues backlog with the Kano model — categorize every open issue as Must-be, Performance, Attractive, Indifferent, or Reverse, apply Kano + priority labels back to GitHub automatically, and recommend the single best next issue to pick up. Use this whenever the user wants to triage…

Lykhoyda/rn-dev-agent · 215 tokens

openakita/skills@internal-comms

Write internal communications including status reports, leadership updates, 3P updates (Progress/Plans/Problems), company newsletters, FAQs, incident reports, and project updates. Use this skill whenever the user needs to draft any type of internal business communication.

openakita/openakita · 58 tokens

list-scheduled-tasks

List all scheduled tasks with their ID, name, type, status, and next execution time. When you need to check existing tasks, find task ID for cancel/update, or verify task creation.

openakita/openakita · 45 tokens

schedule-task

Create scheduled task or reminder. IMPORTANT - must actually call this tool to create task. Just saying 'OK I will remind you' does NOT create the task. Task types - (1) reminder for simple messages, (2) task for AI operations.

openakita/openakita · 54 tokens

update-scheduled-task

Modify scheduled task settings WITHOUT deleting. Can modify notifyonstart, notifyoncomplete, enabled. Common uses - (1) 'Turn off notification' = notify=false, (2) 'Pause task' = enabled=false, (3) 'Resume task' = enabled=true.

openakita/openakita · 61 tokens