plane-cli: Instructions file for Codex

AGENTS.md

plane-cli AGENTS.md is an instructions file for Codex, OpenCode from cpatrickalves/plane-cli. It costs 1,512 tokens per session, scanned A, original, MIT.

Project instructions for PlaneCLI, a Python command-line tool for managing Plane.so projects, work items, cycles, documents, labels, and related records. A CLI is a text-based interface for running commands.

In plain words
What is it for?
Use them when adding or changing PlaneCLI commands, fuzzy lookup of resources by name or ID, project-management features, tests, linting, formatting, or documentation.
Why use it?
They define the commands, code layout, formatting rules, and checks needed to develop the tool consistently.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md.

This is cpatrickalves/plane-cli's own configuration. It tells Codex and OpenCode how to work on plane-cli itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything plane-cli configures →

Reuse

Borrowing it

Nothing to install: this file belongs to cpatrickalves/plane-cli. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/cpatrickalves/plane-cli/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/cpatrickalves/plane-cli

Made for: Codex, OpenCode.

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 plane-cli AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/cpatrickalves/plane-cli/agents-md/github.svg)](https://agentmods.dev/instructions/cpatrickalves/plane-cli/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/cpatrickalves/plane-cli/agents-md"><img src="https://agentmods.dev/badge/instructions/cpatrickalves/plane-cli/agents-md/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 plane-cli AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/cpatrickalves/plane-cli/agents-md"><img src="https://agentmods.dev/badge/instructions/cpatrickalves/plane-cli/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,512 This file is loaded in full into every session.
When invoked 1,512 The same file — it is already loaded in full.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.01512 $0.01512
Opus 5.5 $0.00605 $0.00605
Sonnet 5.5 $0.00302 $0.00302
Haiku 4.5 $0.00151 $0.00151

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

Security

Grade A, and why

plane-cli AGENTS.md scanned grade A with 1 finding 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.

Makes network callslowCapability

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

- Documents (Pages): SDK support is incomplete; `commands/documents.py` calls the HTTP API directly with `requests` + `X-Api-Key` via `run_sdk(requests.get, ...)`.
AGENTS.md · 69 lines

How it starts

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

PlaneCLI

A Python CLI for Plane.so (SaaS or self-hosted) that manages projects, work items, cycles, modules, documents, labels, states, intake queues, and comments. Its defining feature is fuzzy resource resolution: any resource can be referenced by name, identifier (ABC-123), or UUID. Built with cyclopts, Rich, rapidfuzz, cashews, and the official plane-sdk.

Language

All docs, comments, and commit messages in English.

Commands

Everything runs through uv; common tasks are wrapped in the Makefile.

make install                       # uv sync (dev environment)
make test                          # uv run pytest tests/
make lint                          # ruff check src/
make lint-fix                      # ruff check --fix src/
make format                        # ruff format src/ tests/
make check                         # lint + test — run before committing
make run ARGS="wi ls -p Frontend"  # run the CLI

Single test: uv run pytest tests/test_resolve.py::test_name -v. Line length 100, Python >= 3.11, ruff selects E, F, I, W.

Structure

src/planecli/
  app.py           # Root cyclopts App; main() entry point; sub-app registration
  commands/        # One module per resource (list/show/create/update/delete). New features go here.
  utils/resolve.py # Resolution layer: resolve_<x>/resolve_<x>_async (UUID → identifier → fuzzy name)
  utils/fuzzy.py   # rapidfuzz token_sort_ratio, threshold 60
  api/             # client.py (PlaneClient singleton); async_sdk.py (async wrapper)
  cache.py         # cashews disk cache; one cached_list_<x> per resource
  formatters/      # output() / output_single() — table to stderr, JSON to stdout
  exceptions.py    # PlaneCLIError subclasses with message/hint/exit_code

Request flow: command → resolve → async SDK wrapper → (cache | Plane SDK) → formatter. See docs/architecture.md.

Conventions

  • Never call the sync Plane SDK directly from a command. Wrap single calls in run_sdk(fn, *args) and paginated lists in paginate_all_async(list_fn, ...). For concurrent batches use create_client() (a fresh client per thread — don't share the singleton's requests.Session). See ADR-0001.
  • Reads go through the cache layer. Resolvers and list commands call cached_list_<x>(...), which returns plain dicts (not Pydantic models). After any create/update/delete, call await invalidate_resource("<resource>", workspace, project_id). See ADR-0004.
  • Error handling. Wrap SDK calls in try/except PlaneError and raise handle_api_error(e). Raise ValidationError/ResourceNotFoundError for user-facing problems. Exit codes: Auth=2, NotFound=3, API=4, Validation=5.
  • --json flag. Every read/mutate command takes json: bool = False and passes as_json=json to the formatter. Table output stays on stderr so --json 2>/dev/null yields clean JSON. See ADR-0005.
  • Lazy imports. Import SDK models and cache helpers inside the command function to keep CLI startup fast (sub-app registration in app.py uses # noqa: E402 deliberately).
  • cyclopts idioms. Sub-apps declare aliases via name=["module", "modules"]; subcommands via @app.command(name="list", alias="ls"); short flags via Annotated[str, Parameter(alias="-p")]. Numpydoc parameter docstrings become --help text.

Read the full file on GitHub · 69 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. 1mo ago First seen · 69 lines · 1,512 tokens per session scan A 6381530750fa

Subscribe to this mod's changes

plane-cli AGENTS.md is an instructions file published in the GitHub repository cpatrickalves/plane-cli (30 stars, last pushed 2mo ago), licensed MIT. It adds 1,512 tokens to every session, about $0.0060 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other instructions, from other repositories

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 9,715 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,581 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).

microsoft/vscode · 5,262 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,680 tokens

vscode copilot-instructions.md

Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).

microsoft/vscode · 2,731 tokens

deepseek-harness AGENTS.md

AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.

deepseek-ai/deepseek-harness · 4,261 tokens