Skip to content

Commit c9229b4

Browse files
rodion-mclaude
andcommitted
Fix 2.0.4 description and add CLAUDE.md clarifying the skill is not MCP
The 2.0.4 description falsely claimed the skill "wraps MCP tools" and baked in anti-fallback phrasing tied to one Claude session's failure mode. Both are wrong: - The skill calls the CodeAlive REST API directly from Python scripts. It is not an MCP wrapper. codealive-mcp is a separate product — the skill and the MCP server are parallel integration paths. - Anti-patterns like "instead of curling mcp.codealive.ai or running ToolSearch" target a single agent's behavior, not general usage, and pollute the system prompt for every user. Drop those clauses, keep only discovery + behavioral triggers, and extend scope to "codebases and documentation" to reflect CodeAlive's indexed content. Add CLAUDE.md so future agents don't repeat the MCP-vs-scripts confusion and so the release process and description-authoring rules are explicit. Bump plugin to 2.0.5. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 021342d commit c9229b4

3 files changed

Lines changed: 60 additions & 2 deletions

File tree

‎.claude-plugin/plugin.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "codealive",
33
"description": "CodeAlive context engine for semantic code search and AI-powered codebase Q&A. Enables AI coding agents to understand entire codebases beyond just open files — search across all indexed repositories, trace cross-service dependencies, discover usage patterns, and get synthesized answers to architectural questions. Includes a lightweight code exploration subagent, authentication hooks, and multiple search modes (fast lexical, semantic, and deep cross-cutting). Works standalone or alongside the CodeAlive MCP server for direct tool access via the Model Context Protocol.",
4-
"version": "2.0.4",
4+
"version": "2.0.5",
55
"author": {
66
"name": "CodeAlive AI",
77
"email": "hello@codealive.ai"

‎CLAUDE.md‎

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
# codealive-skills — notes for AI coding agents
2+
3+
This repository ships two things:
4+
5+
1. The **`codealive-context-engine` Agent Skill** — a `SKILL.md` plus a
6+
set of Python scripts (`scripts/datasources.py`, `search.py`,
7+
`grep.py`, `fetch.py`, `relationships.py`, `chat.py`).
8+
2. A **Claude Code plugin** (`.claude-plugin/plugin.json`) that bundles
9+
the skill with authentication hooks and the
10+
`codealive-context-explorer` subagent.
11+
12+
## What the skill is NOT
13+
14+
The skill is **not an MCP wrapper** and does **not** expose MCP tools.
15+
It is a set of Python scripts that call the CodeAlive REST API directly
16+
over HTTPS, using an API key resolved from the OS credential store or
17+
the `CODEALIVE_API_KEY` env var.
18+
19+
The [codealive-mcp](https://github.com/CodeAlive-AI/codealive-mcp)
20+
server is a **separate product** that exposes CodeAlive as MCP tools
21+
(`get_data_sources`, `semantic_search`, `grep_search`,
22+
`fetch_artifacts`, `get_artifact_relationships`). The skill and the
23+
MCP server are parallel integration paths — either works on its own,
24+
and both can be installed alongside each other.
25+
26+
Do not conflate them when writing or reviewing skill descriptions,
27+
docs, or commit messages.
28+
29+
## Architecture in one sentence
30+
31+
`SKILL.md` is workflow/trigger metadata; the scripts under
32+
`skills/codealive-context-engine/scripts/` are the implementation; the
33+
CodeAlive REST API is the backend. MCP is an optional sibling, not a
34+
dependency.
35+
36+
## Releasing
37+
38+
1. Edit `SKILL.md`, scripts, or plugin assets.
39+
2. Bump `.claude-plugin/plugin.json` `version`.
40+
3. Commit, then annotate a tag matching `vX.Y.Z`.
41+
4. Push `main` and the tag. CI (`.github/workflows/ci.yml`) runs
42+
`pytest tests -v` on push.
43+
5. Users pick up the new version via `claude plugin update
44+
codealive@codealive-marketplace` or `npx skills update`.
45+
46+
## Writing the skill description
47+
48+
The `description` field in `SKILL.md` frontmatter is how agents decide
49+
whether to load the skill. Keep it accurate and discoverable:
50+
51+
- Include the word **CodeAlive** so brand mentions match.
52+
- Include concrete trigger verbs/nouns users actually say: *list data
53+
sources*, *indexed repositories*, *search across repos*, *fetch
54+
artifact content*, *call graph*.
55+
- Do not claim to wrap MCP tools — see above.
56+
- Do not bake in anti-patterns against specific failure modes of one
57+
session; the description is read by many agents in many contexts.
58+
- Hard limit 1024 chars; aim for 300–500.

‎skills/codealive-context-engine/SKILL.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: codealive-context-engine
3-
description: Semantic search, grep, and Q&A across codebases and documentation indexed in CodeAlive. Use when the user mentions "CodeAlive", asks to list or get data sources, list indexed repositories, search code or docs across repos, fetch artifact content, or trace call graphs. Wraps MCP tools get_data_sources, semantic_search, grep_search, fetch_artifacts, get_artifact_relationships. Invoke this instead of curling mcp.codealive.ai or running ToolSearch.
3+
description: Semantic search, grep, and Q&A across codebases and documentation indexed in CodeAlive. Use when the user mentions "CodeAlive", asks to list or get data sources, list indexed repositories, search code or docs across remote repos, fetch artifact content, or trace call graphs across repositories.
44
---
55

66
# CodeAlive Context Engine

0 commit comments

Comments
 (0)