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.
npx agentmods add skills/agentweave/cortex/registernpx skills add agentweave/cortex --skill registergit clone --depth 1 https://github.com/agentweave/cortexWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00021 | $0.00675 |
| Opus 5 | $0.00010 | $0.00338 |
| Sonnet 5 | $0.00004 | $0.00135 |
| Haiku 4.5 | $0.00002 | $0.00068 |
Grade A, and why
register 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 2d 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.
How it starts
The opening of the file, as written. The whole thing — 104 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/register — Register a New Cortex Agent
Create an agent note for a new team member. Run this as the chief of staff or from any session with access to the team directory.
Arguments
<agent-name> — the agent's display name (e.g., "Billing Dev", "Dashboard Dev"). If not provided, ask: "What is the new agent's name?"
Steps
1. Read config
Read ~/.cortex/config.yaml to get team_dir.
If config doesn't exist, stop and respond:
"Cortex is not set up yet. Run
/setupfirst."
2. Resolve name and slug
Use the provided <agent-name>.
Derive the slug: lowercase, replace spaces with hyphens, strip any characters that are not alphanumeric or hyphens (e.g., "Billing Dev" -> "billing-dev").
3. Check for existing agent
Check if <team_dir>/agents/<slug>/<slug>.md already exists.
If it does, stop and respond:
"Agent
<name>is already registered atagents/<slug>/<slug>.md."
4. Gather agent details
Ask: "What is the project directory for this agent? (absolute path, e.g., ~/Projects/billing-service)"
Ask: "What is this agent's role? (one line, e.g., 'Build and maintain the billing service')"
Ask: "What are this agent's capabilities? (comma-separated, e.g., 'Python, FastAPI, database migrations')"
5. Read template
Read <team_dir>/templates/agent-template.md.
If it doesn't exist, use this default template structure:
---
name: ""
project: ""
status: active
joined: ""
---
## Role
## Projects
## Capabilities
## Session Log
Last session: --
Status: registered
6. Create agent files
Create subfolder: mkdir -p <team_dir>/agents/<slug>
Write <team_dir>/agents/<slug>/<slug>.md with the template filled in:
name: the display nameproject: the project directory pathstatus: activejoined: today's date (YYYY-MM-DD)## Role: the role description## Projects: the project slug derived from the project path basename## Capabilities: the capabilities list (as bullet points, one per line)## Session Log: initialized with "Last session: --" and "Status: registered"
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.
- 2d ago First seen · 104 lines · 21 tokens per session scan A b76b4ed559ac
register is a skill published in the GitHub repository agentweave/cortex (12 stars, last pushed 4mo ago), licensed MIT. It adds 21 tokens to every session and 675 once invoked, about $0.0001 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.
Other skills, from other repositories
markstream-react
Integrate the beta markstream-react package into a React 18+ or Next app. Use when Codex needs to add the React renderer, choose the root, next, or server entrypoint, import CSS correctly, choose between content and nodes, keep client boundaries safe, add renderer-local streamingComponents or htmlComponents, use…
web-scraping
Fetches web pages and extracts structured data using mq's toolchain (mq-crawl for fetching/crawling/JS rendering, mq for HTML-to-Markdown selector-based extraction, http() for in-query requests). Use when the user wants to scrape a URL, pull structured data out of a webpage, crawl a site, or turn HTML into…
markstream-vue2-cli
Integrate markstream-vue2 into a Vue 2 Vue CLI or Webpack 4 app. Use when Codex needs Webpack 4-friendly setup, CDN worker fallbacks for Mermaid or KaTeX, dist/index.css imports, Vue 2 composition-api shims, or code block choices limited to stream-diffs or plain .
markstream-svelte
Integrate the beta markstream-svelte package in Svelte 5 or SvelteKit apps. Use when Codex needs Svelte 5 runes, CSS and optional peers, smooth streaming, worker setup, renderer-local or scoped custom components, or SSR-safe boundaries. Svelte 4 is unsupported.
task-planning-arch
计算任务 gap 并产出下一步可执行子任务 List[TaskSpec];gap 已闭返回空数组。对齐 arch 场景(架构师名册/技术栈概览/双视角分析)确定式分解——按根目标交付物集合 + donechildren 查表(参照 task-planning storage 特例,非自由 LLM 分解)。.
task-search
在框架预查的候选 bot 集里决出执行者(who)与协作方式(how),返回 4 态 SearchResult(HITSINGLE/HITGROUP/HITMULTIBOTS/MISS)。对齐案例剧本确定式映射。.