Crawler Summary

ctxpkg answer-first brief

OpenClaw agent: ctxpkg ctxpkg <p align="center"> <img src="docs/assets/banner.jpg" alt="ctxpkg banner" width="100%"> </p> A package manager for AI agent context — manage, sync, and distribute documentation collections for AI-assisted development. **The Vision:** Imagine an AI assistant that knows your context — your team's commit style, your company's security policies, your preferred patterns — without you explaining it every session. $1 Published capability contract available. No trust telemetry is available yet. Last updated 2/24/2026.

Freshness

Last checked 2/22/2026

Best For

Contract is available with explicit auth and schema references.

Not Ideal For

ctxpkg is not ideal for teams that need stronger public trust telemetry, lower setup complexity, or more explicit contract coverage before production rollout.

Evidence Sources Checked

editorial-content, capability-contract, runtime-metrics, public facts pack

Claim this agent
Agent DossierGitHubSafety: 100/100

ctxpkg

OpenClaw agent: ctxpkg ctxpkg <p align="center"> <img src="docs/assets/banner.jpg" alt="ctxpkg banner" width="100%"> </p> A package manager for AI agent context — manage, sync, and distribute documentation collections for AI-assisted development. **The Vision:** Imagine an AI assistant that knows your context — your team's commit style, your company's security policies, your preferred patterns — without you explaining it every session. $1

MCPverified

Public facts

6

Change events

1

Artifacts

0

Freshness

Feb 22, 2026

Verifiededitorial-content1 verified compatibility signal

Published capability contract available. No trust telemetry is available yet. Last updated 2/24/2026.

Schema refs publishedTrust evidence available

Trust score

Unknown

Compatibility

MCP

Freshness

Feb 22, 2026

Vendor

Morten Olsen

Artifacts

0

Benchmarks

0

Last release

1.0.0

Executive Summary

Key links, install path, and a quick operational read before the deeper crawl record.

Verifiededitorial-content

Summary

Published capability contract available. No trust telemetry is available yet. Last updated 2/24/2026.

Setup snapshot

git clone https://github.com/morten-olsen/ctxpkg.git
  1. 1

    Setup complexity is MEDIUM. Standard integration tests and API key provisioning are required before connecting this to production workloads.

  2. 2

    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.

Evidence Ledger

Everything public we have scraped or crawled about this agent, grouped by evidence type with provenance.

Verifiededitorial-content
Vendor (1)

Vendor

Morten Olsen

profilemedium
Observed Feb 24, 2026Source linkProvenance
Compatibility (2)

Protocol compatibility

MCP

contracthigh
Observed Feb 24, 2026Source linkProvenance

Auth modes

mcp, api_key

contracthigh
Observed Feb 24, 2026Source linkProvenance
Artifact (1)

Machine-readable schemas

OpenAPI or schema references published

contracthigh
Observed Feb 24, 2026Source linkProvenance
Security (1)

Handshake status

UNKNOWN

trustmedium
Observed unknownSource linkProvenance
Integration (1)

Crawlable docs

6 indexed pages on the official domain

search_documentmedium
Observed Apr 15, 2026Source linkProvenance

Release & Crawl Timeline

Merged public release, docs, artifact, benchmark, pricing, and trust refresh events.

Self-declaredagent-index

Artifacts Archive

Extracted files, examples, snippets, parameters, dependencies, permissions, and artifact metadata.

Self-declaredGITHUB MCP

Extracted files

0

Examples

6

Snippets

0

Languages

typescript

Executable Examples

bash

# Initialize project config
ctxpkg col init

# Add your docs folder (requires manifest.json)
ctxpkg col add docs ./docs/manifest.json

# Index the documents
ctxpkg col sync

json

{
  "mcpServers": {
    "ctxpkg": {
      "command": "npx",
      "args": ["-y", "ctxpkg", "mcp", "documents"]
    }
  }
}

bash

claude mcp add ctxpkg -- npx -y ctxpkg mcp documents

json

{
  "mcp": {
    "ctxpkg": {
      "type": "local",
      "command": ["npx", "-y", "ctxpkg", "mcp", "documents"],
      "enabled": true
    }
  }
}

bash

# Collections — manage context packages
ctxpkg col init                    # Initialize project
ctxpkg col add <alias> <url>       # Add a collection
ctxpkg col add -g <alias> <url>    # Add global collection
ctxpkg col sync                    # Index documents
ctxpkg col list                    # Show collections

# MCP — AI editor integration (main use case)
ctxpkg mcp docs                    # Start MCP server (tools mode)
ctxpkg mcp agent                   # Start MCP server (agent mode)

# Additional tools
ctxpkg docs search "query"         # Direct search (testing)
ctxpkg chat "question"             # AI-powered Q&A
ctxpkg agent test tests.yaml       # Test agent performance
ctxpkg daemon start                # Background service

json

{
  "collections": {
    "project-docs": {
      "url": "file://./docs/manifest.json"
    },
    "team-standards": {
      "url": "git+https://github.com/myorg/standards#main?manifest=manifest.json"
    },
    "react": {
      "url": "git+https://github.com/facebook/react#v18.2.0?manifest=docs/manifest.json"
    }
  }
}

Docs & README

Full documentation captured from public sources, including the complete README when available.

Self-declaredGITHUB MCP

Docs source

GITHUB MCP

Editorial quality

ready

OpenClaw agent: ctxpkg ctxpkg <p align="center"> <img src="docs/assets/banner.jpg" alt="ctxpkg banner" width="100%"> </p> A package manager for AI agent context — manage, sync, and distribute documentation collections for AI-assisted development. **The Vision:** Imagine an AI assistant that knows your context — your team's commit style, your company's security policies, your preferred patterns — without you explaining it every session. $1

Full README

ctxpkg

<p align="center"> <img src="docs/assets/banner.jpg" alt="ctxpkg banner" width="100%"> </p>

A package manager for AI agent context — manage, sync, and distribute documentation collections for AI-assisted development.

The Vision: Imagine an AI assistant that knows your context — your team's commit style, your company's security policies, your preferred patterns — without you explaining it every session. Read the story: Context Stacking: How Sarah Automated Her Team's Brain

What is ctxpkg?

Just as npm manages code dependencies, ctxpkg manages context dependencies.

Stack documentation layers — from personal notes to team guidelines to project docs — into a unified knowledge base. Your AI agents search this indexed context instead of relying on stale training data or manual copy-paste.

Key capabilities:

  • Context Stacking — Layer documentation from multiple sources (personal, team, project, global)
  • Semantic Search — Local vector + keyword search finds relevant content without dumping everything into prompts
  • MCP Integration — AI editors like Cursor and Claude Desktop can query your context directly
  • Git-Native Distribution — Index docs directly from any git repo (public or private) — no publishing required
  • Bundle Any Source — Export docs from Confluence, Notion, or any system to markdown, then package into distributable .tar.gz archives

Design Philosophy

Zero-friction adoption. You probably already have documentation worth indexing — a folder of markdown notes, an Obsidian vault, your company's engineering wiki, or a repo full of ADRs and guides. ctxpkg works with what you have. Point it at existing files and start searching. No migration, no reformatting, no custom schemas required.

Low-risk investment. Even if you decide ctxpkg isn't for you, any documentation you create remains useful. It's just markdown files with a simple manifest — humans can read it, other tools can consume it, and nothing is locked into a proprietary format. The worst case scenario is you end up with better-organized documentation.

Installation

npm i -g ctxpkg or run command with npx prefix (npx ctxpkg col init)

Quick Start

Get your AI agents access to your documentation in minutes:

# Initialize project config
ctxpkg col init

# Add your docs folder (requires manifest.json)
ctxpkg col add docs ./docs/manifest.json

# Index the documents
ctxpkg col sync

Now configure your AI editor to use the ctxpkg MCP server:

<details> <summary>🔧 Cursor</summary>

Add to ~/.cursor/mcp.json:

{
  "mcpServers": {
    "ctxpkg": {
      "command": "npx",
      "args": ["-y", "ctxpkg", "mcp", "documents"]
    }
  }
}
</details> <details> <summary>🤖 Claude Code</summary>

Run this command:

claude mcp add ctxpkg -- npx -y ctxpkg mcp documents
</details> <details> <summary>⚡ Opencode</summary>

Add to your Opencode configuration:

{
  "mcp": {
    "ctxpkg": {
      "type": "local",
      "command": ["npx", "-y", "ctxpkg", "mcp", "documents"],
      "enabled": true
    }
  }
}
</details>

See more AI editor setupsFull tutorial: Getting Started

Documentation

| Guide | Description | | -------------------------------------------------- | ------------------------------------------------- | | AI Editor Setup | Configure Cursor, Claude Code, Opencode, and more | | Getting Started | First-time setup tutorial | | CLI Reference | Complete command documentation | | Configuration | Project config, global config, manifests | | How It Works | Indexing pipeline, search algorithms | | MCP Server | AI editor integration and tools | | AI Chat & Agent Mode | Chat with docs, reduced-token MCP mode | | Agent Testing | Validate agent performance with test suites | | Publishing Packages | Distribute docs via GitHub Releases |

CLI Management Tools

The CLI is primarily for managing your context collections. Most users will interact with ctxpkg through their AI editor via MCP.

# Collections — manage context packages
ctxpkg col init                    # Initialize project
ctxpkg col add <alias> <url>       # Add a collection
ctxpkg col add -g <alias> <url>    # Add global collection
ctxpkg col sync                    # Index documents
ctxpkg col list                    # Show collections

# MCP — AI editor integration (main use case)
ctxpkg mcp docs                    # Start MCP server (tools mode)
ctxpkg mcp agent                   # Start MCP server (agent mode)

# Additional tools
ctxpkg docs search "query"         # Direct search (testing)
ctxpkg chat "question"             # AI-powered Q&A
ctxpkg agent test tests.yaml       # Test agent performance
ctxpkg daemon start                # Background service

See CLI Reference for complete documentation.

Example: Context Stacking

Layer context from multiple sources:

{
  "collections": {
    "project-docs": {
      "url": "file://./docs/manifest.json"
    },
    "team-standards": {
      "url": "git+https://github.com/myorg/standards#main?manifest=manifest.json"
    },
    "react": {
      "url": "git+https://github.com/facebook/react#v18.2.0?manifest=docs/manifest.json"
    }
  }
}

Git repositories are the easiest way to share documentation — no publishing step required. Just point to a repo with a manifest.json:

# Add docs from any git repo (HTTPS or SSH)
ctxpkg col add team-docs "git+https://github.com/myorg/docs#main?manifest=manifest.json"
ctxpkg col add private-docs "git+ssh://git@github.com/myorg/private#main?manifest=manifest.json"

Add personal/global context available across all projects:

ctxpkg col add -g my-notes file:///Users/me/notes/manifest.json

MCP Integration

ctxpkg's primary purpose is giving AI agents access to your documentation through the Model Context Protocol (MCP). Once configured, your AI assistant gains access to 8 document tools:

  • search - Semantic search across all your documentation
  • search_batch - Multiple queries in one call
  • get_document - Retrieve full document content
  • get_section - Get specific document sections
  • get_outline - Get document structure/outline
  • find_related - Find related documents
  • list_collections - List all indexed collections
  • list_documents - List all documents in collections

Agent Mode (Recommended for Chat)

For reduced token costs in long conversations, use Agent Mode:

{
  "mcpServers": {
    "ctxpkg-agent": {
      "command": "npx",
      "args": ["-y", "ctxpkg", "mcp", "agent"]
    }
  }
}

This exposes a single ask_documents tool that uses an internal AI agent to search and synthesize answers. The calling agent sees only the final result, not intermediate search calls — reducing context overhead.

See MCP Server Documentation for complete details.

AI Chat & Agent Mode

Chat with your documentation directly from the terminal, or use Agent Mode for reduced token costs in AI assistants.

# Configure your LLM
ctxpkg config set llm.apiKey sk-...

# One-shot question
ctxpkg chat "How do I implement caching?" --use-case "Optimizing API performance"

# Interactive session
ctxpkg chat -i

Agent Mode MCP exposes a single ask_documents tool that uses an internal AI agent to search and synthesize answers. The calling agent sees only the final result, not intermediate search calls — reducing context overhead in long conversations.

{
  "mcpServers": {
    "ctxpkg-agent": {
      "command": "ctxpkg",
      "args": ["mcp", "agent"]
    }
  }
}

See AI Chat & Agent Mode for details.

Distributing Internal Documentation

ctxpkg can package documentation from any source — Confluence, Notion, SharePoint, or internal wikis — into distributable bundles that teams can share via internal systems.

Workflow:

  1. Export your docs as Markdown — Use your platform's export tools or APIs to extract documentation

  2. Add a manifest — Create a manifest.json describing the collection:

    {
      "name": "company-knowledge-base",
      "sources": [{ "pattern": "**/*.md" }]
    }
    
  3. Create a bundle — Package everything into a distributable archive:

    ctxpkg col pack --output knowledge-base-v1.tar.gz
    
  4. Distribute internally — Host the bundle on internal file servers, S3, or artifact storage

Teams can then add the bundle:

ctxpkg col add kb https://internal.example.com/bundles/knowledge-base-v1.tar.gz

This enables organizations to centralize and distribute institutional knowledge to AI agents across all teams, without requiring git repositories or public hosting.

See Publishing Packages for automated publishing with GitHub Actions.

Development

pnpm run test:lint   # Linting
pnpm run test:unit   # Unit tests
pnpm run build       # Build TypeScript

License

GNU Affero General Public License v3.0 (AGPL-3.0)

Contract & API

Machine endpoints, protocol fit, contract coverage, invocation examples, and guardrails for agent-to-agent use.

Verifiedcapability-contract

Contract coverage

Status

ready

Auth

mcp, api_key

Streaming

No

Data region

global

Protocol support

MCP: verified

Requires: mcp, lang:typescript

Forbidden: none

Guardrails

Operational confidence: medium

Contract is available with explicit auth and schema references.
Trust confidence is not low and verification freshness is acceptable.
Protocol support is explicitly confirmed in contract metadata.
Invocation examples
curl -s "https://xpersona.co/api/v1/agents/mcp-morten-olsen-ctxpkg/snapshot"
curl -s "https://xpersona.co/api/v1/agents/mcp-morten-olsen-ctxpkg/contract"
curl -s "https://xpersona.co/api/v1/agents/mcp-morten-olsen-ctxpkg/trust"

Reliability & Benchmarks

Trust and runtime signals, benchmark suites, failure patterns, and practical risk constraints.

Missingruntime-metrics

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

No benchmark suites or observed failure patterns are available.

Media & Demo

Every public screenshot, visual asset, demo link, and owner-provided destination tied to this agent.

Missingno-media
No screenshots, media assets, or demo links are available.

Related Agents

Neighboring agents from the same protocol and source ecosystem for comparison and shortlist building.

Self-declaredprotocol-neighbors
GITLAB_AI_CATALOGgitlab-mcp

Rank

83

A Model Context Protocol (MCP) server for GitLab

Traction

No public download signal

Freshness

Updated 2d ago

MCP
GITLAB_PUBLIC_PROJECTSgitlab-mcp

Rank

80

A Model Context Protocol (MCP) server for GitLab

Traction

No public download signal

Freshness

Updated 2d ago

MCP
GITLAB_AI_CATALOGrmcp-openapi

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

MCP
GITLAB_AI_CATALOGrmcp-actix-web

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

MCP
Machine Appendix

Contract JSON

{
  "contractStatus": "ready",
  "authModes": [
    "mcp",
    "api_key"
  ],
  "requires": [
    "mcp",
    "lang:typescript"
  ],
  "forbidden": [],
  "supportsMcp": true,
  "supportsA2a": false,
  "supportsStreaming": false,
  "inputSchemaRef": "https://github.com/morten-olsen/ctxpkg#input",
  "outputSchemaRef": "https://github.com/morten-olsen/ctxpkg#output",
  "dataRegion": "global",
  "contractUpdatedAt": "2026-02-24T19:46:52.434Z",
  "sourceUpdatedAt": "2026-02-24T19:46:52.434Z",
  "freshnessSeconds": 4434004
}

Invocation Guide

{
  "preferredApi": {
    "snapshotUrl": "https://xpersona.co/api/v1/agents/mcp-morten-olsen-ctxpkg/snapshot",
    "contractUrl": "https://xpersona.co/api/v1/agents/mcp-morten-olsen-ctxpkg/contract",
    "trustUrl": "https://xpersona.co/api/v1/agents/mcp-morten-olsen-ctxpkg/trust"
  },
  "curlExamples": [
    "curl -s \"https://xpersona.co/api/v1/agents/mcp-morten-olsen-ctxpkg/snapshot\"",
    "curl -s \"https://xpersona.co/api/v1/agents/mcp-morten-olsen-ctxpkg/contract\"",
    "curl -s \"https://xpersona.co/api/v1/agents/mcp-morten-olsen-ctxpkg/trust\""
  ],
  "jsonRequestTemplate": {
    "query": "summarize this repo",
    "constraints": {
      "maxLatencyMs": 2000,
      "protocolPreference": [
        "MCP"
      ]
    }
  },
  "jsonResponseTemplate": {
    "ok": true,
    "result": {
      "summary": "...",
      "confidence": 0.9
    },
    "meta": {
      "source": "GITHUB_MCP",
      "generatedAt": "2026-04-17T03:26:57.235Z"
    }
  },
  "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": "supported",
      "confidenceSource": "contract",
      "notes": "Confirmed by capability contract"
    },
    {
      "key": "cli",
      "type": "capability",
      "support": "supported",
      "confidenceSource": "profile",
      "notes": "Declared in agent profile metadata"
    }
  ],
  "flattenedTokens": "protocol:MCP|supported|contract capability:cli|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": "protocols",
    "category": "compatibility",
    "label": "Protocol compatibility",
    "value": "MCP",
    "href": "https://xpersona.co/api/v1/agents/mcp-morten-olsen-ctxpkg/contract",
    "sourceUrl": "https://xpersona.co/api/v1/agents/mcp-morten-olsen-ctxpkg/contract",
    "sourceType": "contract",
    "confidence": "high",
    "observedAt": "2026-02-24T19:46:52.434Z",
    "isPublic": true
  },
  {
    "factKey": "auth_modes",
    "category": "compatibility",
    "label": "Auth modes",
    "value": "mcp, api_key",
    "href": "https://xpersona.co/api/v1/agents/mcp-morten-olsen-ctxpkg/contract",
    "sourceUrl": "https://xpersona.co/api/v1/agents/mcp-morten-olsen-ctxpkg/contract",
    "sourceType": "contract",
    "confidence": "high",
    "observedAt": "2026-02-24T19:46:52.434Z",
    "isPublic": true
  },
  {
    "factKey": "schema_refs",
    "category": "artifact",
    "label": "Machine-readable schemas",
    "value": "OpenAPI or schema references published",
    "href": "https://github.com/morten-olsen/ctxpkg#input",
    "sourceUrl": "https://xpersona.co/api/v1/agents/mcp-morten-olsen-ctxpkg/contract",
    "sourceType": "contract",
    "confidence": "high",
    "observedAt": "2026-02-24T19:46:52.434Z",
    "isPublic": true
  },
  {
    "factKey": "vendor",
    "category": "vendor",
    "label": "Vendor",
    "value": "Morten Olsen",
    "href": "https://github.com/morten-olsen/ctxpkg",
    "sourceUrl": "https://github.com/morten-olsen/ctxpkg",
    "sourceType": "profile",
    "confidence": "medium",
    "observedAt": "2026-02-24T19:43:14.176Z",
    "isPublic": true
  },
  {
    "factKey": "handshake_status",
    "category": "security",
    "label": "Handshake status",
    "value": "UNKNOWN",
    "href": "https://xpersona.co/api/v1/agents/mcp-morten-olsen-ctxpkg/trust",
    "sourceUrl": "https://xpersona.co/api/v1/agents/mcp-morten-olsen-ctxpkg/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 ctxpkg and adjacent AI workflows.