SKILL caamp

From kryptobaseddev/cleo · View interactive version

SKILL caamp is an AI agent skill from the GitHub repository kryptobaseddev/cleo. Central AI Agent Managed Packages - unified provider registry and package manager for AI coding agents Use when: (1) running caamp CLI commands, (2) calling its 276 API functions, (3) configuring @cleocode/caamp, (4) understanding its 180 type definitions, (5) working with its 8 classes, (6) user me

How to use this skill

Skill file

@cleocode/caamp

Central AI Agent Managed Packages - unified provider registry and package manager for AI coding agents

Quick Start

npm install -D @cleocode/caamp
npx caamp --help

API

| Function | Description |

|----------|-------------|

| getPlatformPaths() | Get OS-appropriate paths for CAAMP's global directories. |

| getSystemInfo() | Get a cached system information snapshot. |

| _resetPlatformPathsCache() | Invalidate the path and system info caches. Use in tests after mutating AGENTS_HOME env var. |

| getPlatformLocations() | Resolves platform-specific directory locations for the current OS. |

| getAgentsHome() | Returns the global agents home directory path. |

| getProjectAgentsDir() | Returns the project-local .agents directory path. |

| resolveProjectPath() | Resolves a relative path against a project directory. |

| getCanonicalSkillsDir() | Returns the canonical skills storage directory path. |

| getLockFilePath() | Returns the path to the CAAMP lock file. |

| getAgentsMcpDir() | Gets the MCP directory within the .agents/ standard structure. |

| getAgentsMcpServersPath() | Gets the MCP servers.json path within the .agents/ standard structure. |

| getAgentsInstructFile() | Gets the primary AGENTS.md instruction file path within .agents/. |

| getAgentsConfigPath() | Gets the config.toml path within the .agents/ standard structure. |

| getAgentsWikiDir() | Gets the wiki directory within the .agents/ standard structure. |

| getAgentsSpecDir() | Gets the spec directory within the .agents/ standard structure. |

| ... | 261 more — see API reference |

Configuration

import type { DetectionConfig } from "@cleocode/caamp";

const config: Partial<DetectionConfig> = {
  // Detection methods to try, in order.
  methods: [],
  // Binary name to look up on PATH (for `"binary"` method).
  binary: "...",
  // Directories to check for existence (for `"directory"` method).
  directories: "...",
  // macOS .app bundle name (for `"appBundle"` method).
  appBundle: "...",
  // Flatpak application ID (for `"flatpak"` method).
  flatpakId: "...",
};

See references/CONFIGURATION.md for full details.

Gotchas

Key Types

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.