This file is the quick-start context for opening the repo in Codex.
Agent Portability Kit is a Python CLI and Codex skill/plugin skeleton for converting AI-agent assets — skills, agents, rules/context, MCP configs, and package metadata — into Codex, Cline, or neutral portable output.
From the repo root:
python -m pip install -e .
python -m compileall -q src tests
python -m unittest discover -s tests -v
apk scan --source .Read AGENTS.md, README.md, NEXT_STEPS.md, ROADMAP.md, and MANIFEST.md. Run the test suite. Do not edit files yet. Explain the architecture and propose the smallest safe implementation plan for the v0.3.0 typed MCP IR.
Implement NEXT_STEPS.md task 1: add a typed PortableMcpServer IR and align the MCP schema. Add focused tests, preserve dry-run and secret-safety defaults, and do not parse or emit MCP configs yet.
v0.2.0 is complete and includes sidecar copying, stronger classification, frontmatter normalization, and safe invocation conversion.
v0.3.0 should focus on:
- typed MCP IR and schema
- Codex TOML and Cline JSON importers
- secret-to-environment normalization
- target-native MCP emitters
- adapter-based wrappers and safe merge/diff planning
Same-target skill normalization is deferred.
The tool should never silently mutate source files or global config. All conversion should be planned first and written only in generate mode.