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 skills add CodeAlive-AI/codealive-skills --skill codealive-context-enginegit clone --depth 1 https://github.com/CodeAlive-AI/codealive-skillsWrote 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.
[](https://agentmods.dev/skills/codealive-ai/codealive-skills/codealive-context-engine)<a href="https://agentmods.dev/skills/codealive-ai/codealive-skills/codealive-context-engine"><img src="https://agentmods.dev/badge/skills/codealive-ai/codealive-skills/codealive-context-engine/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.
<a href="https://agentmods.dev/skills/codealive-ai/codealive-skills/codealive-context-engine"><img src="https://agentmods.dev/badge/skills/codealive-ai/codealive-skills/codealive-context-engine.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00063 | $0.04819 |
| Opus 5.5 | $0.00025 | $0.01928 |
| Sonnet 5.5 | $0.00013 | $0.00964 |
| Haiku 4.5 | $0.00006 | $0.00482 |
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 26d 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 — 433 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 9.1 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.
- 26d ago Changed · +28 lines 8b1aace4ecf5
- 1mo 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 (15 stars, last pushed 27d ago), licensed MIT. It adds 63 tokens to every session and 4,819 once invoked, about $0.0003 per session on Opus 5.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
A reference for configuring Git with Chinese code-hosting services such as Gitee, Coding.net, GitLab China, and CNB, including SSH, HTTPS, credentials, CI, and repository mirroring.
chinese-documentation
A Chinese technical-documentation style guide covering spacing, punctuation, numbers, terminology, and links when Chinese and English appear together.
contract-builder
Maintain an execution contract only for an existing legacy change that requires one. New direct/planned changes do not invoke this skill when a contract is absent.
need-explorer
Clarify intent, scope, constraints, and success criteria before artifact creation. Invoke when the request is fuzzy, the user is comparing options, or the workflow needs a stable change definition before writing artifacts.
iflytek-text-proofread
A tool that checks Chinese writing through iFlytek’s official document-proofreading service. It looks for spelling, punctuation, wording, factual, terminology, and sensitive-content problems.
iflytek-image-understanding
An image-analysis tool that describes pictures and answers questions about what they contain. It uses an AI vision service, which interprets visual content rather than only reading text files.