framework-packaging-guides

framework-packaging-guides is a skill for Claude Code, Codex from phazurlabs/install-labs. It costs 188 tokens per session (6,970 once invoked), scanned B, original, Apache-2.0.

A set of instructions for packaging AI agents and automations built with common software frameworks so other people can install them. It covers frameworks such as LangChain, CrewAI, AutoGen, and others.

In plain words
What is it for?
Preparing agents for distribution through methods such as Docker, PyPI, or a framework's deployment service, depending on the framework used.
Why use it?
It helps turn a working agent project into a distributable product with the files and settings expected by its framework.

Skill for Claude CodeCodex

Part of the install-labs plugin — 12 skills, 10 commands shipped together

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/phazurlabs/install-labs/framework-packaging-guides
Any agent
npx skills add phazurlabs/install-labs --skill framework-packaging-guides
Clone the repo
git clone --depth 1 https://github.com/phazurlabs/install-labs

Made for: Claude Code, Codex.

Or install install-labs, the plugin that ships this one along with the rest of its 12 skills, 10 commands.

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 framework-packaging-guides

README.md
[![agentmods](https://agentmods.dev/badge/skills/phazurlabs/install-labs/framework-packaging-guides.svg)](https://agentmods.dev/skills/phazurlabs/install-labs/framework-packaging-guides)
Your own site
<a href="https://agentmods.dev/skills/phazurlabs/install-labs/framework-packaging-guides"><img src="https://agentmods.dev/badge/skills/phazurlabs/install-labs/framework-packaging-guides.svg" alt="Measured on agentmods" height="20"></a>
Per session 188 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,970 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 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.1 $0.00188 $0.06970
Opus 5 $0.00094 $0.03485
Sonnet 5 $0.00038 $0.01394
Haiku 4.5 $0.00019 $0.00697

Measured 5d ago against content hash b33e5d711339, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade B, and why

framework-packaging-guides scanned grade B with 2 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.

Sends data to an external URLmediumData exfiltration

A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.

**Install via API:** `curl -X POST http://localhost:3000/api/v1/chatflows -H "Content-Type: application/json" -d @chatflows/my_chatflow.json`

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

**Install via API:** `curl -X POST http://localhost:3000/api/v1/chatflows -H "Content-Type: application/json" -d @chatflows/my_chatflow.json`
skills/framework-packaging-guides/SKILL.md · 621 lines

How it starts

The opening of the file, as written. The whole thing — 621 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Framework-Specific Packaging Guides

How to turn an agent built with any major framework into something other people can install with one command.


1. LangChain / LangGraph

When to use: Stateful multi-step agents with tool calling, memory, and conditional branching. LangGraph adds explicit graph-based control flow.

Project structure:

my-langgraph-agent/
├── src/my_agent/
│   ├── __init__.py
│   ├── agent.py          # graph definition
│   ├── nodes.py          # node functions
│   ├── tools.py
│   └── state.py          # TypedDict state schema
├── langgraph.json        # deployment manifest
├── pyproject.toml
├── Dockerfile
├── docker-compose.yml
└── .env.example

Key configs:

// langgraph.json — required for langgraph deploy and Cloud
{ "graphs": {"my_agent": "./src/my_agent/agent.py:graph"}, "env": ".env", "python_version": "3.12", "dependencies": ["."] }
# pyproject.toml
[project]
name = "my-langgraph-agent"
dependencies = ["langgraph>=0.2.0", "langchain-anthropic>=0.2.0"]
[project.scripts]
my-agent = "my_agent.cli:main"

Distribution: LangGraph Cloud (langgraph deploy) | Docker (docker compose up -d) | PyPI (pip install my-langgraph-agent)

Pitfalls:

  1. Version conflicts. LangChain ships breaking changes frequently. Pin exact versions (langgraph==0.2.14, not >=0.2). Users with other LangChain projects hit dependency hell.
  2. Missing langgraph.json. Without it, langgraph deploy silently fails or serves the wrong graph.
  3. State schema not exported. Library consumers need your State TypedDict. Export it from __init__.py.

2. CrewAI

When to use: Multi-agent systems where each agent has a distinct role, goal, and backstory. Role-based collaboration (researcher + writer + editor).

Project structure:

my-crew/
├── src/my_crew/
│   ├── __init__.py
│   ├── crew.py           # @CrewBase class
│   ├── agents.py
│   ├── tasks.py
│   ├── tools/custom_tool.py
│   └── config/
│       ├── agents.yaml
│       └── tasks.yaml
├── pyproject.toml
├── Dockerfile
└── .env.example

Read the full file on GitHub · 621 lines

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 · 621 lines · 188 tokens per session scan B b33e5d711339

Subscribe to this mod's changes

framework-packaging-guides is a skill published in the GitHub repository phazurlabs/install-labs (3 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 188 tokens to every session and 6,970 once invoked, about $0.0009 per session on Opus 5. A static security scan graded it B with 2 findings (sends data to an external url, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.