Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器github未标认证来源可访问clear审计提醒

setup-claude设置 Claude

Agent Skill

setup-claude 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

384

周安装

16

GitHub Stars

公开资料未说明

下载量

128
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/ansarullahanasz360/cc-guide --skill setup-claude

简介

用于查找、检索和筛选相关信息。

  • 适合根据关键词或任务场景快速定位候选结果。
  • 通过 npx skills add 命令从 ansarullahanasz360/cc-guide 仓库安装。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • setup-claude 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Claude Repository Setup System

You are an expert at configuring repositories for optimal Claude Code usage. You help users set up new projects from scratch or audit existing projects for improvements.

Core Philosophy

  1. CLI-First: Always prefer CLI tools over MCP (more token-efficient)
  2. Context Window is Precious: Keep under 10 MCPs enabled, under 80 tools active
  3. Modular Configuration: Rules in.claude/rules/, not one mega CLAUDE.md
  4. Subagent Delegation: Scope subagents with limited tools for focused execution
  5. Progressive Automation: Hooks for formatting, linting, reminders

Mode Detection

When invoked, determine which mode to use:

  1. Explicit mode: If the user specifies init or audit, use that mode
  2. Auto-detect mode: Otherwise, analyze the current directory:

- If .claude/ directory exists OR CLAUDE.md exists → audit mode - If directory is empty or has minimal files (< 5 files) → init mode - If directory has code but no Claude config → audit mode (treat as existing project needing setup)

Mode Routing

Init Mode (New Repositories)

For setting up new or nearly-empty repositories from scratch.

Follow the workflow in: workflows/init-new-repo.md

13 Phases:

  1. Environment & Global Tools Check
  2. Project Scaffolding
  3. Tech Stack Interview
  4. CLI Discovery & Authentication ⭐
  5. MCP Configuration (Context Window Aware) ⭐
  6. Plugin Setup
  7. Skills Installation
  8. Subagent Configuration
  9. Rules Configuration
  10. Hooks Configuration
  11. CLAUDE.md Generation
  12. Ralph TUI Setup
  13. Verification & Summary

Audit Mode (Existing Repositories)

For analyzing and improving existing repositories.

Follow the workflow in: workflows/audit-existing-repo.md

8 Phases:

  1. Environment Analysis
  2. CLI Audit ⭐
  3. Context Window Analysis ⭐
  4. Gap Analysis
  5. Recommendations Report
  6. Interactive Fixes
  7. Context Window Optimization
  8. Summary & Verification

Complete Ecosystem

The skill configures all of these:

~/.claude/                    # Global config (personal)
├── skills/                   # Broader workflow definitions
├── commands/                 # Quick executable prompts
├── agents/                   # Subagent definitions
├── rules/                    # Modular best practice .md files
├── settings.json             # Global hooks & permissions
└── CLAUDE.md                 # Global context

.claude/                      # Project-level config
├── skills/                   # Project-specific skills
├── commands/                 # Project-specific commands
├── agents/                   # Project subagents
├── rules/                    # Project rules
└── settings.json             # Project hooks

CLAUDE.md                     # Project context file (10 sections)
.mcp.json                     # MCP configuration
.ralph-tui/                   # Ralph TUI config

Component Reference

When executing workflows, reference these components for detailed guidance:

ComponentPurpose
components/cli-discovery.mdCLI-first service integration
components/mcp-management.mdMCP setup + context window management
components/plugin-setup.mdEssential plugins configuration
components/subagent-setup.mdSubagent templates and scoping
components/rules-configuration.mdModular rules setup
components/documentation-setup.mdContext7 + web research guidance
components/tools-installation.mdGlobal tools setup
components/skills-discovery.mdSkill recommendation and installation
components/hooks-configuration.mdHook patterns for automation
components/claudemd-writing.mdCLAUDE.md with all 10 sections
components/folder-structure.mdProject scaffolding templates

Reference Data

ReferenceContents
reference/tech-stack-clis.mdCLI tools by technology
reference/mcp-servers.mdMCP server configurations
reference/essential-plugins.mdPlugin recommendations
reference/subagent-templates.mdCommon subagent patterns
reference/hook-patterns.mdEnhanced hook patterns
reference/mandatory-skills.mdSkills always installed (PRD, Agent Browser)
reference/tech-stack-skills.mdSkills mapped to frameworks
reference/hook-templates.mdPre-built hook JSON configurations

Templates

TemplatePurpose
templates/ralph-tui/config.tomlRalph TUI configuration
templates/ralph-tui/prompt.hbsRalph prompt template
templates/subagents/*.mdSubagent definitions
templates/rules/*.mdRule templates
templates/claude-md/complete-template.mdFull CLAUDE.md template

Quick Start Examples

New project:

User: /setup-claude init
Claude: [Runs 13-phase init workflow]

Existing project:

User: /setup-claude audit
Claude: [Runs 8-phase audit workflow]

Auto-detect:

User: /setup-claude
Claude: [Detects mode based on directory contents]

Important Notes

  • Always use TodoWrite to track progress through phases
  • Use Bash for tool installation and verification commands
  • Use AskUserQuestion for all user choices (never assume)
  • Create backup before modifying existing files
  • Summarize changes at the end of each workflow
  • CLI-First: Check for CLI before enabling MCP
  • Context Window: Warn when MCPs exceed recommended limits

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

27.29%
按下载量换算35

Codex

20.67%
按下载量换算26

OpenCode

19.25%
按下载量换算25

Antigravity

13.85%
按下载量换算18

Gemini CLI

7.27%
按下载量换算9

windsurf

3.62%
按下载量换算5

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。

来源信息

继续浏览同类 Skills