agentleFS
shyftlabsshyftlabs/continuum/.claude/skills/continuum-codex/SKILL.md

continuum-codex

Skill84 starsChanged 6 months agoApache-2.0View on GitHub

Set up OpenAI Codex CLI for a Continuum project — AGENTS.md content, project conventions, and what Codex needs to write correct Continuum code. Invoke when the user asks "set up Codex for my project", "AGENTS.md for Continuum", or "configure Codex CLI".

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Async: all public APIs are async — entrypoints need asyncio.run()

    line 46
  2. Very specific:

    Don't omit load_dotenv() — Codex-generated scripts often miss it and settings fail to load.

    line 81
  3. Very specific:

    Don't tell Codex to use litellm — it's removed from Continuum.

    line 82
  4. Distinctive:

    Don't let Codex guess at field names — always have AGENTS.md present so it reads the authoritative API.

    line 83

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Continuum + Codex CLI Skill

Codex CLI reads AGENTS.md from the project root automatically. The Continuum repo ships a ready-made AGENTS.md — copy or symlink it into any downstream project.


Minimal AGENTS.md for a Continuum project

# My Project — Agent Knowledge Pack

@/path/to/continuum/AGENTS.md

## Project-specific conventions

- Package: `my_app` (imports as `from my_app import ...`)
- Entry point: `src/my_app/main.py`
- Agents are defined in `src/my_app/agents.py`
- Tests: `pytest tests/` with `pytest-asyncio`

## Key agents in this project

| Agent | File | Purpose |
|---|---|---|
| `SupportAgent` | `agents/support.py` | Customer support triage |
| `BillingAgent` | `agents/billing.py` | Billing inquiries |

The @import pulls in the full Continuum API reference so Codex knows every class, field, and pattern.


What AGENTS.md must include for Continuum projects

Codex needs these facts to write correct code on the first try:

  1. Import name: continuum (the distribution is shyftlabs-continuum)
  2. Async: all public APIs are async — entrypoints need asyncio.run()
  3. Provider routing: by model-string prefix, or via SMART_GATEWAY_URL
  4. Infrastructure: Redis on :6380, Milvus/Qdrant for memory
  5. No LiteLLM: direct provider SDKs only

Minimal addition to any AGENTS.md:

## Continuum conventions

- Import: `from continuum.agent import BaseAgent, AgentRunner`
- All APIs async. Use `asyncio.run(main())` at entrypoints.
- Model routing: prefix-based (`gpt-*` → OpenAI, `claude-*` → Anthropic, `gemini/*` → Gemini)
- Gateway: set `SMART_GATEWAY_URL` to route all models through the Smart Gateway
- Memory: Redis (:6380) for sessions, Milvus (:19530) or Qdrant (:6333) for long-term
- Load dotenv: always `load_dotenv()` before importing continuum settings

Running Codex against a Continuum project

# Point Codex at the project
cd my-continuum-project
codex "add a handoff from SupportAgent to BillingAgent for billing questions"

Codex will read AGENTS.md, understand the Continuum API, and generate correct Handoff(target_agent=..., description=...) code.


Don't

  • Don't omit load_dotenv() — Codex-generated scripts often miss it and settings fail to load.
  • Don't tell Codex to use litellm — it's removed from Continuum.
  • Don't let Codex guess at field names — always have AGENTS.md present so it reads the authoritative API.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.