返回技能列表

install-almanac-content

pjt222
更新于 2 days ago
7 次查看
17
2
17
在 GitHub 上查看
ai

关于

This CLI tool installs pre-built skills, agents, and teams from the agent-almanac repository into your project's agentic framework. It automatically detects your framework, resolves dependencies, and can sync installations using a declarative manifest. Use it to quickly bootstrap agentic capabilities or maintain consistent environments across projects.

快速安装

Claude Code

推荐
主要方式
npx skills add pjt222/agent-almanac -a claude-code
插件命令备选方式
/plugin add https://github.com/pjt222/agent-almanac
Git 克隆备选方式
git clone https://github.com/pjt222/agent-almanac.git ~/.claude/skills/install-almanac-content

在 Claude Code 中复制并粘贴此命令以安装该技能

技能文档

Install Almanac Content

agent-almanac CLI → install skills/agents/teams into agentic frameworks.

Use When

  • New project → agentic skills/agents/teams
  • All skills from domain (r-packages, devops)
  • Multi-framework (Claude Code, Cursor, Copilot)
  • Declarative agent-almanac.yml manifest for reproducible
  • Audit installed content for broken symlinks / stale refs

In

  • Required: content to install (skill/agent/team IDs, e.g., create-skill, r-developer, r-package-review)
  • Optional: --domain <domain> → install all skills from domain
  • Optional: --framework <id> → target specific (default: auto-detect all)
  • Optional: --with-deps → install agent skills + team agents+skills
  • Optional: --dry-run → preview no write
  • Optional: --global → global scope not project
  • Optional: --force → overwrite existing
  • Optional: --source <path> → explicit almanac root

Do

Step 1: Detect frameworks

agent-almanac detect

Scans cwd for config files/dirs (.claude/, .cursor/, .github/copilot-instructions/, .agents/) + reports active.

→ Lists detected frameworks w/ adapter status. None → universal adapter (.agents/skills/) fallback.

If err: CLI not found → install + PATH. Detection nothing but framework present → --framework <id> explicit. Run agent-almanac list --domains → verify CLI reaches registries.

Step 2: Search

agent-almanac search <keyword>

Browse by category:

agent-almanac list --domains          # List all domains with skill counts
agent-almanac list -d r-packages      # List skills in a specific domain
agent-almanac list --agents           # List all agents
agent-almanac list --teams            # List all teams

→ Results / filtered lists w/ IDs + descriptions.

If err: no results → broader keyword. Verify almanac root: agent-almanac list shows full count. No root → --source /path/to/agent-almanac.

Step 3: Install

# Install specific skills
agent-almanac install create-skill write-testthat-tests

# Install all skills from a domain
agent-almanac install --domain devops

# Install an agent with its skills
agent-almanac install --agent r-developer --with-deps

# Install a team with its agents and their skills
agent-almanac install --team r-package-review --with-deps

# Target a specific framework
agent-almanac install create-skill --framework cursor

# Preview without writing
agent-almanac install --domain esoteric --dry-run

# Install to global scope
agent-almanac install create-skill --global

CLI resolves from registries, selects adapter per framework, writes to framework-specific paths (.claude/skills/ for Claude Code, .cursor/rules/ for Cursor).

→ Output confirms # items + target framework. Content in correct dir.

If err: not found → verify ID matches name field in skills/_registry.yml / agents/_registry.yml / teams/_registry.yml. Files exist + skipped → --force.

Step 4: Verify install

agent-almanac audit

Audit specific framework/scope:

agent-almanac audit --framework claude-code
agent-almanac audit --global

See installed:

agent-almanac list --installed

→ Audit → all healthy, no broken refs. --installed shows each w/ type + framework.

If err: broken → reinstall w/ --force. Broken symlinks → verify almanac source path not moved. Repair: agent-almanac install <broken-id> --force.

Step 5: Manifest (opt)

# Generate a starter manifest
agent-almanac init

Creates agent-almanac.yml w/ detected frameworks + placeholder content. Edit:

source: /path/to/agent-almanac
frameworks:
  - claude-code
  - cursor
skills:
  - create-skill
  - domain:r-packages
agents:
  - r-developer
teams:
  - r-package-review

Install from manifest:

agent-almanac install

Reconcile installed w/ manifest (install missing, remove extra):

agent-almanac sync
agent-almanac sync --dry-run  # Preview first

install no args reads manifest + installs all. sync aligns state w/ manifest (adds missing, removes undeclared).

If err: sync "No agent-almanac.yml" → agent-almanac init first. 0 items → check IDs match registry exactly. # lines ignored.

Step 6: Teams as campfires (opt)

Warm team-oriented alternative to install --team:

# Browse all available team circles
agent-almanac campfire --all

# Inspect a specific circle (members, practices, pattern)
agent-almanac campfire tending

# See shared agents between teams (hearth-keepers)
agent-almanac campfire --map

# Gather a team (install with arrival ceremony)
agent-almanac gather tending
agent-almanac gather tending --ceremonial    # Show each skill arriving
agent-almanac gather tending --only mystic,gardener  # Partial gathering

# Check fire health (burning / embers / cold)
agent-almanac tend

# Scatter a team (uninstall with farewell)
agent-almanac scatter tending

State tracked in .agent-almanac/state.json (git-ignored, local). Thermal states: burning (used <7 days), embers (<30 days), cold (30+). tend warms all fires + reports health.

Shared skills protected during scatter — needed by another gathered fire → remains. Shared agents walk between fires not duplicated.

All campfire support --quiet (standard reporter) + --json (machine-parseable) for scripting.

→ Teams gathered + managed w/ state. campfire --all shows states. tend reports health.

If err: state corrupted → delete .agent-almanac/state.json + re-gather. gather fails → team name must match teams/_registry.yml.

Check

  • agent-almanac detect shows expected frameworks
  • agent-almanac list --installed shows intended content
  • agent-almanac audit no broken
  • Installed skills resolve in framework (e.g., /skill-name works)
  • agent-almanac sync --dry-run no changes needed (if manifest)

Traps

  • Forget --with-deps for agents + teams: installs only def, not skills. Agent present but can't follow procedures. Always --with-deps unless deps already installed.
  • Manifest drift: manual install/remove → out of sync. Run sync periodically or always install through manifest.
  • Scope confusion (project vs global): --global~/.claude/skills/. Project → .claude/skills/ in cwd. Not found → check scope.
  • Stale source path: repo moved/renamed → --source in manifests + auto-detect breaks. Update source in agent-almanac.yml or re-run init.
  • Framework not detected: detector looks for specific files/dirs. Fresh project may lack → --framework <id> explicit or rely on universal.
  • Campfire thermal confusion: fires cold after 30 days. tend resets timer. Cold ≠ broken install — state reflects recency of use, not install health.

  • create-skill — author new skills before install
  • configure-mcp-server — MCP servers agents may need post-install
  • write-claude-md — reference installed skills in CLAUDE.md
  • audit-discovery-symlinks — diagnose symlink issues for Claude Code discovery
  • design-cli-output — terminal patterns used by reporter + campfire ceremony

GitHub 仓库

pjt222/agent-almanac
路径: i18n/caveman-ultra/skills/install-almanac-content
0
agentsagentskillsai-assisted-developmentclaude-codeskillsteams

相关推荐技能

content-collections

Content Collections 是一个 TypeScript 优先的构建工具,可将本地 Markdown/MDX 文件转换为类型安全的数据集合。它专为构建博客、文档站和内容密集型 Vite+React 应用而设计,提供基于 Zod 的自动模式验证。该工具涵盖从 Vite 插件配置、MDX 编译到生产环境部署的完整工作流。

查看技能

polymarket

这个Claude Skill为开发者提供完整的Polymarket预测市场开发支持,涵盖API调用、交易执行和市场数据分析。关键特性包括实时WebSocket数据流,可监控实时交易、订单和市场动态。开发者可用它构建预测市场应用、实施交易策略并集成实时市场预测功能。

查看技能

creating-opencode-plugins

该Skill帮助开发者创建OpenCode插件,用于接入命令、文件、LSP等25+种事件。它提供了插件结构、事件API规范和JavaScript/TypeScript实现模式,适合需要拦截操作、扩展功能或自定义事件处理的场景。开发者可通过它快速构建响应式模块来增强OpenCode AI助手的能力。

查看技能

sglang

SGLang是一个专为LLM设计的高性能推理框架,特别适用于需要结构化输出的场景。它通过RadixAttention前缀缓存技术,在处理JSON、正则表达式、工具调用等具有重复前缀的复杂工作流时,能实现极速生成。如果你正在构建智能体或多轮对话系统,并追求远超vLLM的推理性能,SGLang是理想选择。

查看技能