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/codealive-ai/codealive-skills/codealive-context-enginenpx skills add CodeAlive-AI/codealive-skills --skill codealive-context-enginegit clone --depth 1 https://github.com/CodeAlive-AI/codealive-skillsWhat 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.00063 | $0.04502 |
| Opus 5 | $0.00032 | $0.02251 |
| Sonnet 5 | $0.00013 | $0.00900 |
| Haiku 4.5 | $0.00006 | $0.00450 |
Grade A, and why
codealive-context-engine 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 — 405 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CodeAlive Context Engine
Semantic code intelligence across your entire code ecosystem — current project, organizational repos, dependencies, and any indexed codebase.
Authentication
All scripts require a CodeAlive API key. If any script fails with "API key not configured", help the user set it up:
Option 1 (recommended): Run the interactive setup and wait for the user to complete it:
python setup.py
Option 2 (not recommended — key visible in chat history): If the user pastes their API key directly in chat, save it via:
python setup.py --key THE_KEY
Do NOT retry the failed script until setup completes successfully.
Table of Contents
Tools Overview
| Tool | Script | Speed | Cost | Best For |
|---|---|---|---|---|
| List Data Sources | datasources.py |
Instant | Free | Discovering indexed repos and workspaces. With --query "task", runs an AI relevance filter (low cost, not instant) returning only the relevant sources |
| Semantic Search | search.py |
Fast | Low | Default discovery — finds code by meaning (concepts, behavior, architecture) |
| Grep Search | grep.py |
Fast | Low | Finds code containing a specific string or regex (identifiers, literals, patterns) |
| Repository Ontology | ontology.py |
Fast | Low | High-level orientation for exactly one repository |
| File Tree | tree.py |
Fast | Free | Bounded repository tree inspection |
| Read File | read_file.py |
Fast | Free | Read one repository-relative file path, optionally with a line range |
| Fetch Artifacts | fetch.py |
Fast | Free | Retrieve full content for search result identifiers |
| Artifact Relationships | relationships.py |
Fast | Free | Full call graph, inheritance, or symbol references for one artifact |
| ArtifactQuery Schema | schema.py |
Fast | Free | Inspect supported metadata query entities, fields, and examples |
| Artifact Metadata Query | metadata.py |
Fast | Low | Read-only aggregate/query analytics across indexed repositories |
| Chat with Codebase | chat.py |
Slow | High | Stateless synthesized Q&A. Call ONLY when the user explicitly asks. |
| Get Version | get_version.py |
Instant | Free | Return the installed CodeAlive skill version as JSON; no API key or network call required |
What ships with it
19 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- .gitignore 19 B
- references/query-patterns.md 7.8 KB
- references/workflows.md 15 KB
- scripts/chat.py 2.8 KB runs code
- scripts/datasources.py 5.2 KB runs code
- scripts/fetch.py 2.9 KB runs code
- scripts/get_version.py 486 B runs code
- scripts/grep.py 4.7 KB runs code
- scripts/lib/__init__.py 31 B runs code
- scripts/lib/api_client.py 38 KB runs code
- scripts/metadata.py 1.0 KB runs code
- scripts/ontology.py 739 B runs code
- scripts/read_file.py 1.7 KB runs code
- scripts/relationships.py 7.7 KB runs code
- scripts/schema.py 1.4 KB runs code
- scripts/search.py 6.3 KB runs code
- scripts/tree.py 1.9 KB runs code
- setup.py 14 KB runs code
- VERSION 6 B
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 · 405 lines · 63 tokens per session scan A c30ec2502ff5
codealive-context-engine is a skill published in the GitHub repository CodeAlive-AI/codealive-skills (14 stars, last pushed 27d ago), licensed MIT. It adds 63 tokens to every session and 4,502 once invoked, about $0.0003 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
chinese-git-workflow
国内 Git 平台配置参考——Gitee、Coding.net、极狐 GitLab、CNB 的 SSH/HTTPS/凭据/CI 接入差异与镜像同步配置。仅在用户显式 /chinese-git-workflow 时调用,不要根据上下文自动触发。.
chinese-commit-conventions
中文 commit 与 changelog 配置参考——Conventional Commits 中文适配、commitlint/husky/commitizen 中文模板、conventional-changelog 中文配置。仅在用户显式 /chinese-commit-conventions 时调用,不要根据上下文自动触发。.
chinese-documentation
中文文档排版参考——中英文空格、全半角标点、术语保留、链接格式、中文文案排版指北约定。仅在用户显式 /chinese-documentation 时调用,不要根据上下文自动触发。.
systematic-debugging
Skill "systematic-debugging" from jnMetaCode/superpowers-zh, covering 系统化调试, 概述, 铁律, 何时使用 and 四个阶段.
workflow-runner
在 Claude Code / OpenClaw / Cursor 中直接运行 agency-orchestrator YAML 工作流——无需 API key,使用当前会话的 LLM 作为执行引擎。当用户提供 .yaml 工作流文件或要求多角色协作完成任务时触发。.
skill-authoring
Author SKILL.md skills: frontmatter, validator limits, structure.