Rank
83
A Model Context Protocol (MCP) server for GitLab
Traction
No public download signal
Freshness
Updated 2d ago
Crawler Summary
Generates a codebase-context.md file that provides pre-built context for AI agents. This skill analyzes your project structure, patterns, and conventions to create a comprehensive context document that reduces token usage and improves agent effectiveness. Use when setting up a new project for AI-assisted development or when the codebase has significantly changed. --- name: codebase-context description: Generates a codebase-context.md file that provides pre-built context for AI agents. This skill analyzes your project structure, patterns, and conventions to create a comprehensive context document that reduces token usage and improves agent effectiveness. Use when setting up a new project for AI-assisted development or when the codebase has significantly changed. --- Codebase C Capability contract not published. No trust telemetry is available yet. 9 GitHub stars reported by the source. Last updated 4/15/2026.
Freshness
Last checked 4/15/2026
Best For
codebase-context is best for follow, read, mcp workflows where MCP compatibility matters.
Not Ideal For
Contract metadata is missing or unavailable for deterministic execution.
Evidence Sources Checked
editorial-content, GITHUB OPENCLEW, runtime-metrics, public facts pack
Generates a codebase-context.md file that provides pre-built context for AI agents. This skill analyzes your project structure, patterns, and conventions to create a comprehensive context document that reduces token usage and improves agent effectiveness. Use when setting up a new project for AI-assisted development or when the codebase has significantly changed. --- name: codebase-context description: Generates a codebase-context.md file that provides pre-built context for AI agents. This skill analyzes your project structure, patterns, and conventions to create a comprehensive context document that reduces token usage and improves agent effectiveness. Use when setting up a new project for AI-assisted development or when the codebase has significantly changed. --- Codebase C
Public facts
5
Change events
1
Artifacts
0
Freshness
Apr 15, 2026
Capability contract not published. No trust telemetry is available yet. 9 GitHub stars reported by the source. Last updated 4/15/2026.
Trust score
Unknown
Compatibility
MCP
Freshness
Apr 15, 2026
Vendor
Airowe
Artifacts
0
Benchmarks
0
Last release
Unpublished
Key links, install path, and a quick operational read before the deeper crawl record.
Summary
Capability contract not published. No trust telemetry is available yet. 9 GitHub stars reported by the source. Last updated 4/15/2026.
Setup snapshot
git clone https://github.com/airowe/codebase-context-skill.gitSetup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.
Everything public we have scraped or crawled about this agent, grouped by evidence type with provenance.
Vendor
Airowe
Protocol compatibility
MCP
Adoption signal
9 GitHub stars
Handshake status
UNKNOWN
Crawlable docs
6 indexed pages on the official domain
Merged public release, docs, artifact, benchmark, pricing, and trust refresh events.
Extracted files, examples, snippets, parameters, dependencies, permissions, and artifact metadata.
Extracted files
0
Examples
6
Snippets
0
Languages
typescript
Parameters
bash
# Generate all context files (code-index.json, deps.mermaid, deps.json) ~/.claude/skills/codebase-context/scripts/generate-all.sh . # Or run individually: ~/.claude/skills/codebase-context/scripts/generate-code-index.sh . ~/.claude/skills/codebase-context/scripts/generate-deps.sh . mermaid
text
/codebase-context
markdown
For full project structure and workflows, see `.claude/codebase-context.md`.
markdown
## CRITICAL: Read Codebase Context First BEFORE using Glob, Grep, or exploring the codebase, you MUST read...
text
CLAUDE.md # Project overview, commands, rules (~50 lines) apps/mobile/CLAUDE.md # Mobile patterns, design system, workflows apps/api/CLAUDE.md # API conventions, DB patterns, auth flow
bash
.claude/check-context-freshness.sh
Full documentation captured from public sources, including the complete README when available.
Docs source
GITHUB OPENCLEW
Editorial quality
ready
Generates a codebase-context.md file that provides pre-built context for AI agents. This skill analyzes your project structure, patterns, and conventions to create a comprehensive context document that reduces token usage and improves agent effectiveness. Use when setting up a new project for AI-assisted development or when the codebase has significantly changed. --- name: codebase-context description: Generates a codebase-context.md file that provides pre-built context for AI agents. This skill analyzes your project structure, patterns, and conventions to create a comprehensive context document that reduces token usage and improves agent effectiveness. Use when setting up a new project for AI-assisted development or when the codebase has significantly changed. --- Codebase C
Generate context files that help AI agents understand your codebase without blind exploration:
| File | Purpose | Format |
|------|---------|--------|
| codebase-context.md | Human-readable project overview | Markdown |
| code-index.json | Fast lookups for concepts, exports, types | JSON |
| deps.mermaid | Dependency graph for tracing imports | Mermaid |
Run the extraction scripts to generate machine-readable context:
# Generate all context files (code-index.json, deps.mermaid, deps.json)
~/.claude/skills/codebase-context/scripts/generate-all.sh .
# Or run individually:
~/.claude/skills/codebase-context/scripts/generate-code-index.sh .
~/.claude/skills/codebase-context/scripts/generate-deps.sh . mermaid
Then use the skill to generate the human-readable context:
/codebase-context
Add a single reference line in your project's CLAUDE.md:
For full project structure and workflows, see `.claude/codebase-context.md`.
This lets agents discover the context file when they need to explore, without forcing it to load on every request.
Earlier versions of this skill recommended adding a mandatory preload block at the top of CLAUDE.md:
## CRITICAL: Read Codebase Context First
BEFORE using Glob, Grep, or exploring the codebase, you MUST read...
This approach has problems:
CLAUDE.md files from root down to the working directory. Package-level files give you free progressive disclosure.Use package-level CLAUDE.md files instead of cramming everything into root:
CLAUDE.md # Project overview, commands, rules (~50 lines)
apps/mobile/CLAUDE.md # Mobile patterns, design system, workflows
apps/api/CLAUDE.md # API conventions, DB patterns, auth flow
Each file only loads when working in that directory.
Based on real-world usage, here's what works and what doesn't in context files:
| Content | Why | |---------|-----| | One-line project description | Anchors every agent decision | | Directory tree (top 2-3 levels) | Shows structure without file-path brittleness | | Domain concepts/vocabulary | Stable across refactors, prevents misunderstandings | | Key workflows (1 line each) | Shows how features connect | | Patterns and conventions | Prevents style drift | | Gotchas | Saves debugging time |
| Content | Why |
|---------|-----|
| Environment variable examples | Sensitive, discoverable from .env.example |
| Code snippets/API usage examples | Go stale fast, agent can read the actual code |
| Full file listings per screen/feature | Too granular, changes frequently |
| App Store / deployment details | Rarely relevant to coding tasks |
| Marketing site info | Not relevant to development |
| Build/deploy commands beyond basics | Discoverable from package.json |
Aim for 80-150 lines in codebase-context.md. If it's over 200, you're probably including things that belong in package-level CLAUDE.md files or separate docs.
Before reading codebase-context.md, check if it's stale by running:
.claude/check-context-freshness.sh
If the script exits non-zero or prints "STALE", regenerate the context.
When generating context, also create .claude/codebase-context.snapshot containing:
The freshness check compares current state against the snapshot.
After generating codebase-context.md, create .claude/check-context-freshness.sh:
#!/bin/bash
# Check if codebase-context.md needs regeneration
SNAPSHOT_FILE=".claude/codebase-context.snapshot"
CONTEXT_FILE=".claude/codebase-context.md"
if [ ! -f "$CONTEXT_FILE" ]; then
echo "STALE: No context file found"
exit 1
fi
if [ ! -f "$SNAPSHOT_FILE" ]; then
echo "STALE: No snapshot file found"
exit 1
fi
CURRENT_TREE=$(find . -maxdepth 3 -type d -not -path '*/\.*' -not -path './node_modules*' -not -path './dist*' -not -path './build*' -not -path './.next*' 2>/dev/null | sort | md5sum | cut -d' ' -f1)
STORED_TREE=$(grep "^tree:" "$SNAPSHOT_FILE" 2>/dev/null | cut -d' ' -f2)
if [ "$CURRENT_TREE" != "$STORED_TREE" ]; then
echo "STALE: Directory structure changed"
exit 1
fi
for CONFIG in package.json tsconfig.json pyproject.toml Cargo.toml go.mod; do
if [ -f "$CONFIG" ]; then
CURRENT_HASH=$(md5sum "$CONFIG" 2>/dev/null | cut -d' ' -f1)
STORED_HASH=$(grep "^$CONFIG:" "$SNAPSHOT_FILE" 2>/dev/null | cut -d' ' -f2)
if [ "$CURRENT_HASH" != "$STORED_HASH" ]; then
echo "STALE: $CONFIG changed"
exit 1
fi
fi
done
GENERATED=$(grep "^generated:" "$SNAPSHOT_FILE" 2>/dev/null | cut -d' ' -f2)
if [ -n "$GENERATED" ]; then
NOW=$(date +%s)
AGE=$((NOW - GENERATED))
DAYS=$((AGE / 86400))
if [ $DAYS -gt 7 ]; then
echo "STALE: Context is $DAYS days old (recommend regenerating weekly)"
exit 1
fi
fi
echo "FRESH: Context is up to date"
exit 0
After generating codebase-context.md, create .claude/codebase-context.snapshot:
#!/bin/bash
SNAPSHOT_FILE=".claude/codebase-context.snapshot"
TREE_HASH=$(find . -maxdepth 3 -type d -not -path '*/\.*' -not -path './node_modules*' -not -path './dist*' -not -path './build*' -not -path './.next*' 2>/dev/null | sort | md5sum | cut -d' ' -f1)
echo "tree: $TREE_HASH" > "$SNAPSHOT_FILE"
echo "generated: $(date +%s)" >> "$SNAPSHOT_FILE"
for CONFIG in package.json tsconfig.json pyproject.toml Cargo.toml go.mod; do
if [ -f "$CONFIG" ]; then
HASH=$(md5sum "$CONFIG" | cut -d' ' -f1)
echo "$CONFIG: $HASH" >> "$SNAPSHOT_FILE"
fi
done
echo "Snapshot saved to $SNAPSHOT_FILE"
Explore the codebase to understand:
Create .claude/codebase-context.md with these sections (target: 80-150 lines):
# Codebase Context
> Optional reference for AI agents. Read when you need to understand project structure.
## Project Overview
- One-line description, type, package manager
## Tech Stack
- Table of layer → technology
## Directory Structure
- Tree view, top 2-3 levels with purpose annotations
## Domain Concepts
- Table of term → meaning
## Key Workflows
- One line per workflow showing the flow
## Patterns
- Bullet list of conventions (styling, naming, auth, etc.)
## Gotchas
- Non-obvious behaviors that waste debugging time
Omit: env vars, code snippets, deployment details, marketing content, full file listings.
.claude/codebase-context.md — The context document.claude/codebase-context.snapshot — Freshness snapshot.claude/check-context-freshness.sh — Freshness check script (make executable)chmod +x .claude/check-context-freshness.sh
Add one line to the project's CLAUDE.md (do NOT add a mandatory preload block):
For full project structure and workflows, see `.claude/codebase-context.md`.
In addition to the human-readable context file, generate a machine-optimized code index for fast lookups.
The code index provides O(1) lookups for common agent queries:
After generating codebase-context.md, also create .claude/code-index.json:
{
"version": "1.0",
"generated": 1706140800,
"concepts": {
"authentication": ["src/auth/login.ts:15", "src/middleware/jwt.ts:1"],
"error handling": ["src/utils/errors.ts:1", "src/api/middleware.ts:42"],
"database": ["src/db/client.ts:1", "src/db/queries.ts:1"]
},
"entry_points": {
"POST /api/login": "src/app/api/auth/login/route.ts:15",
"GET /api/users": "src/app/api/users/route.ts:8"
},
"exports": {
"src/lib/db/client.ts": ["prisma", "PrismaClient"],
"src/lib/utils/index.ts": ["cn", "formatDate", "debounce"]
},
"types": {
"User": "src/types/user.ts:5",
"Task": "src/types/task.ts:3"
}
}
concepts: Maps domain concepts to file locations entry_points: Maps API routes/CLI commands to handlers exports: Maps files to their public exports types: Maps type/interface names to definitions
Generate a lightweight dependency graph to answer "what depends on what?" questions.
Create .claude/deps.mermaid with a Mermaid flowchart:
graph LR
subgraph API
api/users.ts --> db/queries.ts
api/auth.ts --> lib/jwt.ts
end
subgraph Database
db/queries.ts --> db/client.ts
end
For JavaScript/TypeScript projects:
npx madge --json src > .claude/deps.json
npx madge --dot src > .claude/deps.dot
Manual extraction (any language):
file → [imported files]Keep the graph focused:
After generation, the .claude/ directory contains:
.claude/
├── codebase-context.md # Human-readable context (80-150 lines)
├── codebase-context.snapshot # Freshness snapshot
├── code-index.json # Machine-optimized lookups
├── deps.mermaid # Dependency graph
└── check-context-freshness.sh # Freshness check script
CLAUDE.md files for package-specific guidanceThe staleness check detects when regeneration is needed:
Manual regeneration triggers:
grepai enables natural language code search using vector embeddings. 100% local (uses Ollama), supports MCP server for Claude Code integration.
grepai search "user authentication flow"
grepai trace callers myFunction
| Step | Tool | Purpose | |------|------|---------| | 1 | codebase-context.md | Understand project structure | | 2 | code-index.json | Fast lookups (concepts, exports, types) | | 3 | deps.mermaid | Trace dependencies | | 4 | grepai | Find code by semantic meaning (if installed) | | 5 | Glob/Grep | Exact pattern matching |
Machine endpoints, protocol fit, contract coverage, invocation examples, and guardrails for agent-to-agent use.
Contract coverage
Status
missing
Auth
None
Streaming
No
Data region
Unspecified
Protocol support
Requires: none
Forbidden: none
Guardrails
Operational confidence: low
curl -s "https://xpersona.co/api/v1/agents/airowe-codebase-context-skill/snapshot"
curl -s "https://xpersona.co/api/v1/agents/airowe-codebase-context-skill/contract"
curl -s "https://xpersona.co/api/v1/agents/airowe-codebase-context-skill/trust"
Trust and runtime signals, benchmark suites, failure patterns, and practical risk constraints.
Trust signals
Handshake
UNKNOWN
Confidence
unknown
Attempts 30d
unknown
Fallback rate
unknown
Runtime metrics
Observed P50
unknown
Observed P95
unknown
Rate limit
unknown
Estimated cost
unknown
Do not use if
Every public screenshot, visual asset, demo link, and owner-provided destination tied to this agent.
Neighboring agents from the same protocol and source ecosystem for comparison and shortlist building.
Rank
83
A Model Context Protocol (MCP) server for GitLab
Traction
No public download signal
Freshness
Updated 2d ago
Rank
80
A Model Context Protocol (MCP) server for GitLab
Traction
No public download signal
Freshness
Updated 2d ago
Rank
74
Expose OpenAPI definition endpoints as MCP tools using the official Rust SDK for the Model Context Protocol (https://github.com/modelcontextprotocol/rust-sdk)
Traction
No public download signal
Freshness
Updated 2d ago
Rank
72
An actix_web backend for the official Rust SDK for the Model Context Protocol (https://github.com/modelcontextprotocol/rust-sdk)
Traction
No public download signal
Freshness
Updated 2d ago
Contract JSON
{
"contractStatus": "missing",
"authModes": [],
"requires": [],
"forbidden": [],
"supportsMcp": false,
"supportsA2a": false,
"supportsStreaming": false,
"inputSchemaRef": null,
"outputSchemaRef": null,
"dataRegion": null,
"contractUpdatedAt": null,
"sourceUpdatedAt": null,
"freshnessSeconds": null
}Invocation Guide
{
"preferredApi": {
"snapshotUrl": "https://xpersona.co/api/v1/agents/airowe-codebase-context-skill/snapshot",
"contractUrl": "https://xpersona.co/api/v1/agents/airowe-codebase-context-skill/contract",
"trustUrl": "https://xpersona.co/api/v1/agents/airowe-codebase-context-skill/trust"
},
"curlExamples": [
"curl -s \"https://xpersona.co/api/v1/agents/airowe-codebase-context-skill/snapshot\"",
"curl -s \"https://xpersona.co/api/v1/agents/airowe-codebase-context-skill/contract\"",
"curl -s \"https://xpersona.co/api/v1/agents/airowe-codebase-context-skill/trust\""
],
"jsonRequestTemplate": {
"query": "summarize this repo",
"constraints": {
"maxLatencyMs": 2000,
"protocolPreference": [
"MCP"
]
}
},
"jsonResponseTemplate": {
"ok": true,
"result": {
"summary": "...",
"confidence": 0.9
},
"meta": {
"source": "GITHUB_OPENCLEW",
"generatedAt": "2026-04-16T23:27:20.218Z"
}
},
"retryPolicy": {
"maxAttempts": 3,
"backoffMs": [
500,
1500,
3500
],
"retryableConditions": [
"HTTP_429",
"HTTP_503",
"NETWORK_TIMEOUT"
]
}
}Trust JSON
{
"status": "unavailable",
"handshakeStatus": "UNKNOWN",
"verificationFreshnessHours": null,
"reputationScore": null,
"p95LatencyMs": null,
"successRate30d": null,
"fallbackRate": null,
"attempts30d": null,
"trustUpdatedAt": null,
"trustConfidence": "unknown",
"sourceUpdatedAt": null,
"freshnessSeconds": null
}Capability Matrix
{
"rows": [
{
"key": "MCP",
"type": "protocol",
"support": "unknown",
"confidenceSource": "profile",
"notes": "Listed on profile"
},
{
"key": "follow",
"type": "capability",
"support": "supported",
"confidenceSource": "profile",
"notes": "Declared in agent profile metadata"
},
{
"key": "read",
"type": "capability",
"support": "supported",
"confidenceSource": "profile",
"notes": "Declared in agent profile metadata"
},
{
"key": "mcp",
"type": "capability",
"support": "supported",
"confidenceSource": "profile",
"notes": "Declared in agent profile metadata"
}
],
"flattenedTokens": "protocol:MCP|unknown|profile capability:follow|supported|profile capability:read|supported|profile capability:mcp|supported|profile"
}Facts JSON
[
{
"factKey": "docs_crawl",
"category": "integration",
"label": "Crawlable docs",
"value": "6 indexed pages on the official domain",
"href": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
"sourceUrl": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
"sourceType": "search_document",
"confidence": "medium",
"observedAt": "2026-04-15T05:03:46.393Z",
"isPublic": true
},
{
"factKey": "vendor",
"category": "vendor",
"label": "Vendor",
"value": "Airowe",
"href": "https://github.com/airowe/codebase-context-skill",
"sourceUrl": "https://github.com/airowe/codebase-context-skill",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-04-15T03:12:42.891Z",
"isPublic": true
},
{
"factKey": "protocols",
"category": "compatibility",
"label": "Protocol compatibility",
"value": "MCP",
"href": "https://xpersona.co/api/v1/agents/airowe-codebase-context-skill/contract",
"sourceUrl": "https://xpersona.co/api/v1/agents/airowe-codebase-context-skill/contract",
"sourceType": "contract",
"confidence": "medium",
"observedAt": "2026-04-15T03:12:42.891Z",
"isPublic": true
},
{
"factKey": "traction",
"category": "adoption",
"label": "Adoption signal",
"value": "9 GitHub stars",
"href": "https://github.com/airowe/codebase-context-skill",
"sourceUrl": "https://github.com/airowe/codebase-context-skill",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-04-15T03:12:42.891Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://xpersona.co/api/v1/agents/airowe-codebase-context-skill/trust",
"sourceUrl": "https://xpersona.co/api/v1/agents/airowe-codebase-context-skill/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true
}
]Change Events JSON
[
{
"eventType": "docs_update",
"title": "Docs refreshed: Sign in to GitHub · GitHub",
"description": "Fresh crawlable documentation was indexed for the official domain.",
"href": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
"sourceUrl": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
"sourceType": "search_document",
"confidence": "medium",
"observedAt": "2026-04-15T05:03:46.393Z",
"isPublic": true
}
]Sponsored
Ads related to codebase-context and adjacent AI workflows.