Token导航 LogoToken导航

Agent Skill · 运维和基础设施

sindri-extension-guide(辛德里扩展指南)

sindri-extension-guide 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

sindri-extension-guide 是运维和基础设施类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为接触敏感数据;许可证为 MIT,第三方扫描有提醒项,按安装量在运维和基础设施类的 2,449 个 Skill 里排第 1,084。

总安装 906周安装 37GitHub Stars 12下载 290核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:sindri-extension-guide(辛德里扩展指南)
来源仓库:https://github.com/pacphi/sindri
仓库路径:skills/sindri-extension-guide
安装命令:
npx skills add https://github.com/pacphi/sindri --skill sindri-extension-guide
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/pacphi/sindri --skill sindri-extension-guide

这个 Skill 是做什么的

运维和基础设施类 Skill 处理部署、监控、日志和云资源,多数需要较高的执行权限。

用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态或协作事项进行整理。可结合来源仓库和 README 核验具体用法,支持代码变更追踪。安装前建议确认权限范围、维护状态及是否会触发联网或命令执行。

注意避免直接操作生产环境,优先使用脱敏数据和最小权限原则。

来源仓库内路径:skills/sindri-extension-guide

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/pacphi/sindri --skill sindri-extension-guide;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

sindri-extension-guide 怎么安装?

在终端执行 npx skills add https://github.com/pacphi/sindri --skill sindri-extension-guide。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

sindri-extension-guide 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

sindri-extension-guide 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

sindri-extension-guide 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

sindri-extension-guide 用的人多吗?

公开数据是累计安装 906 次,近一周安装 37 次,下载 290 次,GitHub 12 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

sindri-extension-guide 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 3 个目录同时收录,说明这个 Skill 流传比较广。
  • 许可证明确为 MIT,商用和分发边界好判断。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理运维和基础设施类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

运维和基础设施类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
brainstorming

头脑风暴 · Codex、Claude

3,148,776173,131操作浏览器MIT通过
copywriting

文案写作 · Codex、Claude

1,996,72425,583需要联网MIT通过
openclaw-secure-linux-cloud

OpenClaw secure linux cloud 命令行 · Codex、Claude

1,853,08840接触敏感数据未明确未通过
xget

xget 命令行 · Codex、Claude

1,799,28040执行命令未明确未通过
requesting-code-review

代码审查请求 · Codex、Claude

1,590,144173,103权限未标注MIT通过
sindri-extension-guide

辛德里扩展指南 · 本页

90612接触敏感数据MIT有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Sindri Extension Development Guide

What's New: Extension Capabilities System

Recent Addition (Jan 2026): Sindri now supports an optional capabilities system for advanced extensions:

  • Project Initialization - Commands to set up new projects (project-init)
  • Multi-Method Authentication - Support both API key and CLI auth (auth)
  • Lifecycle Hooks - Pre/post install and project-init hooks (hooks)
  • MCP Integration - Register as Model Context Protocol servers (mcp)

Most extensions don't need capabilities - they're only for extensions that extend project management functionality (like Claude Flow, Agentic QE, Spec-Kit). Regular extensions (nodejs, python, docker) work exactly as before.

Slash Commands (Recommended)

For reliable extension creation with all documentation updates, use these commands:

CommandPurpose
/extension/new <name> [source]Create new extension with complete documentation workflow
/extension/update-docs <name>Update documentation for existing extension

Example:

/extension/new mdflow https://github.com/johnlindquist/mdflow
/extension/update-docs nodejs

These commands enforce the complete workflow including all required documentation updates.


Overview

This skill guides you through creating declarative YAML extensions for Sindri. Extensions are YAML files, not bash scripts - all configuration is driven by declarative YAML definitions.

Documentation Locations

IMPORTANT: After creating any extension, you must update the relevant documentation.

Key Documentation Files

TypePathPurpose
Schemav2/docker/lib/schemas/extension.schema.jsonExtension validation schema
Registryv2/docker/lib/registry.yamlMaster extension registry
Profilesv2/docker/lib/profiles.yamlExtension profile definitions
Categoriesv2/docker/lib/categories.yamlCategory definitions
Extension Docsdocs/extensions/{NAME}.mdIndividual extension documentation
Catalogv2/docs/EXTENSIONS.mdOverview of all extensions
Authoring Guidev2/docs/EXTENSION_AUTHORING.mdDetailed authoring reference
Slidesdocs/slides/extensions.htmlVisual presentation

Quick Start Checklist

  1. Create directory: v2/docker/lib/extensions/{name}/
  2. Create extension.yaml with required sections
  3. Add to v2/docker/lib/registry.yaml
  4. Validate: ./v2/cli/extension-manager validate {name}
  5. Test: ./v2/cli/extension-manager install {name}
  6. Update documentation (see Post-Extension Checklist below)

Extension Directory Structure

v2/docker/lib/extensions/{extension-name}/
├── extension.yaml       # Required: Main definition
├── scripts/             # Optional: Custom scripts
│   ├── install.sh       # Custom installation
│   ├── uninstall.sh     # Custom removal
│   └── validate.sh      # Custom validation
├── templates/           # Optional: Config templates
│   └── config.template
└── mise.toml            # Optional: mise configuration

Minimal Extension Template

metadata:
  name: my-extension
  version: 1.0.0
  description: Brief description (10-200 chars)
  category: dev-tools
  dependencies: []

install:
  method: mise
  mise:
    configFile: mise.toml

validate:
  commands:
    - name: mytool
      versionFlag: --version
      expectedPattern: "v\\d+\\.\\d+\\.\\d+"

Extension YAML Sections

Extensions consist of required sections (metadata, install, validate) and optional sections (requirements, configure, remove, upgrade, bom, capabilities).

IMPORTANT: Capabilities are OPTIONAL - Most extensions (nodejs, python, docker, etc.) don't need capabilities. Only extensions requiring project initialization, authentication, lifecycle hooks, or MCP integration need the capabilities section.

1. Metadata (Required)

metadata:
  name: extension-name # lowercase with hyphens
  version: 1.0.0 # semantic versioning
  description: What it does # 10-200 characters
  category: dev-tools # see categories below
  author: Your Name # optional
  homepage: https://... # optional
  dependencies: # other extensions needed
    - nodejs
    - python

Valid Categories:

  • base - Core system components
  • language - Programming runtimes (Node.js, Python, etc.)
  • dev-tools - Development tools (linters, formatters)
  • infrastructure - Cloud/container tools (Docker, K8s, Terraform)
  • ai - AI/ML tools and frameworks
  • agile - Project management tools (Jira, Linear)
  • database - Database servers
  • monitoring - Observability tools
  • mobile - Mobile SDKs
  • desktop - GUI environments
  • utilities - General tools

2. Requirements (Optional)

requirements:
  domains: # Network access needed
    - api.github.com
    - registry.npmjs.org
  diskSpace: 500 # MB required
  secrets: # Credentials needed
    - GITHUB_TOKEN

3. Install (Required)

Choose ONE installation method:

mise (recommended for language tools):

install:
  method: mise
  mise:
    configFile: mise.toml # Reference to mise config
    reshim: true # Rebuild shims after install

apt (system packages):

install:
  method: apt
  apt:
    repositories:
      - name: docker
        key: https://download.docker.com/linux/ubuntu/gpg
        url: https://download.docker.com/linux/ubuntu
        suite: jammy
        component: stable
    packages:
      - docker-ce
      - docker-ce-cli

binary (direct download):

install:
  method: binary
  binary:
    url: https://github.com/org/repo/releases/download/v1.0.0/tool-linux-amd64.tar.gz
    extract: tar.gz # tar.gz, zip, or none
    destination: ~/.local/bin/tool

npm (Node.js packages):

install:
  method: npm
  npm:
    packages:
      - typescript
      - eslint
    global: true

script (custom installation):

install:
  method: script
  script:
    path: scripts/install.sh
    timeout: 300 # seconds (default: 300)

hybrid (multiple methods):

install:
  method: hybrid
  hybrid:
    steps:
      - method: apt
        apt:
          packages: [build-essential]
      - method: script
        script:
          path: scripts/install.sh

4. Configure (Optional)

configure:
  templates:
    - source: templates/config.template
      destination: ~/.config/tool/config.yaml
      mode: overwrite # overwrite|append|merge|skip-if-exists
  environment:
    - key: TOOL_HOME
      value: $HOME/.tool
      scope: bashrc # bashrc|profile|session

5. Validate (Required)

validate:
  commands:
    - name: tool-name
      versionFlag: --version
      expectedPattern: "\\d+\\.\\d+\\.\\d+"
  mise:
    tools:
      - node
      - python
    minToolCount: 2
  script:
    path: scripts/validate.sh
    timeout: 60

6. Remove (Optional)

remove:
  confirmation: true
  mise:
    removeConfig: true
    tools: [node, python]
  apt:
    packages: [package-name]
    purge: false
  script:
    path: scripts/uninstall.sh
  paths:
    - ~/.config/tool
    - ~/.local/share/tool

7. Upgrade (Optional)

upgrade:
  strategy: automatic # automatic|manual|none
  mise:
    upgradeAll: true
  apt:
    packages: [package-name]
    updateFirst: true
  script:
    path: scripts/upgrade.sh

8. Bill of Materials (Optional but Recommended)

bom:
  tools:
    - name: node
      version: dynamic # or specific version
      source: mise
      type: runtime
      license: MIT
      homepage: https://nodejs.org

9. Capabilities (Optional - Advanced Extensions Only)

Use capabilities when your extension needs:

  • Project initialization - Commands to set up a new project (e.g., claude-flow init, spec-kit init)
  • Authentication - Validate API keys or CLI authentication before running
  • Lifecycle hooks - Pre/post install or project-init commands
  • MCP integration - Register as a Model Context Protocol server for Claude Code

Most extensions don't need capabilities. Only use this for extensions that extend project management functionality.

capabilities:
  # Project initialization (optional)
  project-init:
    enabled: true
    commands:
      - command: "mytool init --force"
        description: "Initialize mytool project"
        requiresAuth: anthropic # or: openai, github, none
        conditional: false # true = only run if condition met

    state-markers:
      - path: ".mytool"
        type: directory
        description: "Mytool configuration directory"
      - path: ".mytool/config.json"
        type: file
        description: "Mytool config file"

    validation:
      command: "mytool --version"
      expectedPattern: "^\\d+\\.\\d+\\.\\d+"
      expectedExitCode: 0

  # Authentication (optional)
  auth:
    provider: anthropic # or: openai, github, custom
    required: false # true = block installation without auth
    methods:
      - api-key # API key in environment variable
      - cli-auth # CLI authentication (e.g., Max/Pro plan)
    envVars:
      - ANTHROPIC_API_KEY
    validator:
      command: "claude --version"
      expectedExitCode: 0
    features:
      - name: agent-spawn
        requiresApiKey: false
        description: "CLI-based features"
      - name: api-integration
        requiresApiKey: true
        description: "Direct API features"

  # Lifecycle hooks (optional)
  hooks:
    pre-install:
      command: "echo 'Preparing installation...'"
      description: "Pre-installation checks"
    post-install:
      command: "mytool --version"
      description: "Verify installation"
    pre-project-init:
      command: "mytool doctor --check"
      description: "Pre-init health check"
    post-project-init:
      command: "echo 'Project initialized'"
      description: "Post-init notification"

  # MCP server registration (optional)
  mcp:
    enabled: true
    server:
      command: "npx"
      args:
        - "-y"
        - "@mytool/mcp-server"
        - "start"
      env:
        MYTOOL_MCP_MODE: "1"
    tools:
      - name: "mytool-action"
        description: "Perform mytool action"
      - name: "mytool-query"
        description: "Query mytool data"

  # Feature configuration (optional, V3+ extensions)
  features:
    core:
      daemon_autostart: true
      unified_config: true
    advanced:
      plugin_system: true
      security_scanning: false

Capability Guidelines:

  1. Keep it simple - Only add capabilities you actually need
  2. State markers - Define files/directories created by project-init for idempotency
  3. Conditional commands - Use conditional: true for optional setup steps
  4. Multi-method auth - Support both API key and CLI auth when possible
  5. Feature-level auth - Some features may work without API key (use features array)

Adding to Registry

After creating your extension, add it to v2/docker/lib/registry.yaml:

extensions:
  my-extension:
    category: dev-tools
    description: Short description
    dependencies: [nodejs]
    protected: false

Validation Commands

# Validate single extension
./v2/cli/extension-manager validate my-extension

# Validate all extensions
./v2/cli/extension-manager validate-all

# Check extension info
./v2/cli/extension-manager info my-extension

# Test installation
./v2/cli/extension-manager install my-extension

# Check status
./v2/cli/extension-manager status my-extension

Common Patterns

Language Runtime (mise-based)

Best for: Node.js, Python, Go, Rust, Ruby

  • Use method: mise with a mise.toml config file
  • Set appropriate environment variables in configure section
  • Validate with version command
  • No capabilities needed - just install tools

Development Tool (npm-based)

Best for: TypeScript, ESLint, Prettier

  • Depend on nodejs extension
  • Use method: npm with global packages
  • Add configuration templates

CLI Tool (binary download)

Best for: GitHub releases, standalone binaries

  • Use method: binary with GitHub release URL
  • Handle extraction (tar.gz, zip)
  • Validate binary exists and runs

Complex Setup (hybrid)

Best for: Desktop environments, multi-step installs

  • Use method: hybrid with ordered steps
  • Combine apt + script for flexibility
  • Include cleanup in remove section
  • No capabilities needed unless it requires project initialization

AI/Project Management Tool (with capabilities)

Best for: Claude Flow, Agentic QE, Spec-Kit

  • Use appropriate install method (mise, script, npm)
  • Add capabilities section for project initialization
  • Define state markers for idempotency (.claude/, .agentic-qe/, .github/spec.json)
  • Include authentication configuration (anthropic, openai, github, or none)
  • Add lifecycle hooks for post-install/post-init actions
  • Register MCP server if extension provides Claude Code tools
  • Example extensions: claude-flow-v3, spec-kit, agentic-qe

Current Extensions Using Capabilities:

Extensionproject-initauthhooksmcpNotes
claude-flow-v2✓anthropic✓✓Stable, 158+ aliases
claude-flow-v3✓anthropic✓✓Alpha, 10x performance, 15 tools
agentic-qe✓anthropic✓✓AI-powered testing
spec-kit✓none✓-GitHub spec documentation
agentic-flow✓anthropic✓✓Multi-agent workflows

Script Guidelines

All scripts must:

  1. Start with #!/usr/bin/env bash
  2. Include set -euo pipefail
  3. Exit 0 on success, non-zero on failure
  4. Use $HOME, $WORKSPACE environment variables
  5. Log progress with echo statements

Example:

#!/usr/bin/env bash
set -euo pipefail

echo "Installing my-tool..."
# Installation commands here
echo "my-tool installed successfully"

Troubleshooting

IssueSolution
Schema validation failsCheck YAML syntax, verify required fields
Dependencies not foundAdd missing extensions to registry.yaml
Install times outIncrease timeout in script section
Validation failsCheck expectedPattern regex escaping
Permission deniedScripts must be executable

Post-Extension Documentation Checklist

CRITICAL: After creating or modifying an extension, you MUST complete these documentation updates:

Required Updates (Always Do These)

  • Registry Entry - Add to v2/docker/lib/registry.yaml extensions: my-extension: category: dev-tools description: Short description dependencies: []
  • Extension Documentation - Create docs/extensions/{NAME}.md

- Use UPPERCASE for filename (e.g., NODEJS.md, AI-TOOLKIT.md) - Include: overview, installation, configuration, usage examples - For VisionFlow: docs/extensions/vision-flow/VF-{NAME}.md

  • Extension Catalog - Update v2/docs/EXTENSIONS.md

- Add to appropriate category table - Include link to extension doc

Conditional Updates (When Applicable)

  • Profiles - If adding extension to profiles:

- Update v2/docker/lib/profiles.yaml - Update relevant profile descriptions in v2/docs/EXTENSIONS.md

  • Categories - If adding new category:

- Update v2/docker/lib/categories.yaml - Update v2/docker/lib/schemas/extension.schema.json (category enum) - Update category docs in v2/docs/EXTENSIONS.md

  • Schema - If adding new extension fields:

- Update v2/docker/lib/schemas/extension.schema.json - Update docs/SCHEMA.md - Update REFERENCE.md in this skill

  • Slides - If extension is notable/featured:

- Update docs/slides/extensions.html

VisionFlow-Specific Updates

  • Update docs/extensions/vision-flow/README.md
  • Update docs/extensions/vision-flow/CAPABILITY-CATALOG.md
  • Update VisionFlow profile if applicable

Validation After Updates

# Validate YAML files
pnpm validate:yaml

# Lint markdown
pnpm lint:md

# Validate extension
./v2/cli/extension-manager validate {name}

Extension Documentation Template

When creating docs/extensions/{NAME}.md, use this template:

# {Extension Name}

{Brief description of what the extension provides.}

## Overview

{More detailed explanation of the extension's purpose and capabilities.}

## Installation

\`\`\`bash
extension-manager install {name}
\`\`\`

## What Gets Installed

- {Tool 1} - {purpose}
- {Tool 2} - {purpose}

## Configuration

{Any configuration options or environment variables.}

## Usage

{Usage examples.}

## Dependencies

{List any extension dependencies.}

## Requirements

- **Disk Space:** {X} MB
- **Network:** {domains accessed}
- **Secrets:** {optional secrets}

## Related Extensions

- {Related extension 1}
- {Related extension 2}

Reference Files

  • Schema: v2/docker/lib/schemas/extension.schema.json
  • Registry: v2/docker/lib/registry.yaml
  • Categories: v2/docker/lib/categories.yaml
  • Profiles: v2/docker/lib/profiles.yaml
  • Examples: v2/docker/lib/extensions/*/extension.yaml

For detailed field reference, see REFERENCE.md. For complete examples, see EXAMPLES.md.

Tip: Use Glob and Grep tools to discover current documentation files dynamically:

# Find all extension docs
ls docs/extensions/*.md

# Find VisionFlow docs
ls docs/extensions/vision-flow/*.md

平台分布

Gemini CLI

33.54%
按下载量换算97

Antigravity

23.72%
按下载量换算69

Codex

16.69%
按下载量换算48

Cursor

12.21%
按下载量换算35

Claude Code

8.77%
按下载量换算25

trae

3.35%
按下载量换算10

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。

继续浏览同类 Skills