← 返回 Skills 市场
vinhltt

Claude Automation Recommender

作者 vinhltt · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ⚠ suspicious
280
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install claude-automation-recommender
功能描述
Analyze a codebase and recommend Claude Code automations (hooks, subagents, skills, plugins, MCP servers). Use when user asks for automation recommendations,...
使用说明 (SKILL.md)

Claude Automation Recommender

Analyze codebase patterns to recommend tailored Claude Code automations across all extensibility options.

This skill is read-only. It analyzes the codebase and outputs recommendations. It does NOT create or modify any files. Users implement the recommendations themselves or ask Claude separately to help build them.

Output Guidelines

  • Recommend 1-2 of each type: Don't overwhelm - surface the top 1-2 most valuable automations per category
  • If user asks for a specific type: Focus only on that type and provide more options (3-5 recommendations)
  • Go beyond the reference lists: The reference files contain common patterns, but use web search to find recommendations specific to the codebase's tools, frameworks, and libraries
  • Tell users they can ask for more: End by noting they can request more recommendations for any specific category

Automation Types Overview

Type Best For
Hooks Automatic actions on tool events (format on save, lint, block edits)
Subagents Specialized reviewers/analyzers that run in parallel
Skills Packaged expertise, workflows, and repeatable tasks (invoked by Claude or user via /skill-name)
Plugins Collections of skills that can be installed
MCP Servers External tool integrations (databases, APIs, browsers, docs)

Workflow

Phase 1: Codebase Analysis

Gather project context:

# Detect project type and tools
ls -la package.json pyproject.toml Cargo.toml go.mod pom.xml 2>/dev/null
cat package.json 2>/dev/null | head -50

# Check dependencies for MCP server recommendations
cat package.json 2>/dev/null | grep -E '"(react|vue|angular|next|express|fastapi|django|prisma|supabase|stripe)"'

# Check for existing Claude Code config
ls -la .claude/ CLAUDE.md 2>/dev/null

# Analyze project structure
ls -la src/ app/ lib/ tests/ components/ pages/ api/ 2>/dev/null

Key Indicators to Capture:

Category What to Look For Informs Recommendations For
Language/Framework package.json, pyproject.toml, import patterns Hooks, MCP servers
Frontend stack React, Vue, Angular, Next.js Playwright MCP, frontend skills
Backend stack Express, FastAPI, Django API documentation tools
Database Prisma, Supabase, raw SQL Database MCP servers
External APIs Stripe, OpenAI, AWS SDKs context7 MCP for docs
Testing Jest, pytest, Playwright configs Testing hooks, subagents
CI/CD GitHub Actions, CircleCI GitHub MCP server
Issue tracking Linear, Jira references Issue tracker MCP
Docs patterns OpenAPI, JSDoc, docstrings Documentation skills

Phase 2: Generate Recommendations

Based on analysis, generate recommendations across all categories:

A. MCP Server Recommendations

See references/mcp-servers.md for detailed patterns.

Codebase Signal Recommended MCP Server
Uses popular libraries (React, Express, etc.) context7 - Live documentation lookup
Frontend with UI testing needs Playwright - Browser automation/testing
Uses Supabase Supabase MCP - Direct database operations
PostgreSQL/MySQL database Database MCP - Query and schema tools
GitHub repository GitHub MCP - Issues, PRs, actions
Uses Linear for issues Linear MCP - Issue management
AWS infrastructure AWS MCP - Cloud resource management
Slack workspace Slack MCP - Team notifications
Memory/context persistence Memory MCP - Cross-session memory
Sentry error tracking Sentry MCP - Error investigation
Docker containers Docker MCP - Container management

B. Skills Recommendations

See references/skills-reference.md for details.

Create skills in .claude/skills/\x3Cname>/SKILL.md. Some are also available via plugins:

Codebase Signal Skill Plugin
Building plugins skill-development plugin-dev
Git commits commit commit-commands
React/Vue/Angular frontend-design frontend-design
Automation rules writing-rules hookify
Feature planning feature-dev feature-dev

Custom skills to create (with templates, scripts, examples):

Codebase Signal Skill to Create Invocation
API routes api-doc (with OpenAPI template) Both
Database project create-migration (with validation script) User-only
Test suite gen-test (with example tests) User-only
Component library new-component (with templates) User-only
PR workflow pr-check (with checklist) User-only
Releases release-notes (with git context) User-only
Code style project-conventions Claude-only
Onboarding setup-dev (with prereq script) User-only

C. Hooks Recommendations

See references/hooks-patterns.md for configurations.

Codebase Signal Recommended Hook
Prettier configured PostToolUse: auto-format on edit
ESLint/Ruff configured PostToolUse: auto-lint on edit
TypeScript project PostToolUse: type-check on edit
Tests directory exists PostToolUse: run related tests
.env files present PreToolUse: block .env edits
Lock files present PreToolUse: block lock file edits
Security-sensitive code PreToolUse: require confirmation

D. Subagent Recommendations

See references/subagent-templates.md for templates.

Codebase Signal Recommended Subagent
Large codebase (>500 files) code-reviewer - Parallel code review
Auth/payments code security-reviewer - Security audits
API project api-documenter - OpenAPI generation
Performance critical performance-analyzer - Bottleneck detection
Frontend heavy ui-reviewer - Accessibility review
Needs more tests test-writer - Test generation

E. Plugin Recommendations

See references/plugins-reference.md for available plugins.

Codebase Signal Recommended Plugin
General productivity anthropic-agent-skills - Core skills bundle
Document workflows Install docx, xlsx, pdf skills
Frontend development frontend-design plugin
Building AI tools mcp-builder for MCP development

Phase 3: Output Recommendations Report

Format recommendations clearly. Only include 1-2 recommendations per category - the most valuable ones for this specific codebase. Skip categories that aren't relevant.

## Claude Code Automation Recommendations

I've analyzed your codebase and identified the top automations for each category. Here are my top 1-2 recommendations per type:

### Codebase Profile
- **Type**: [detected language/runtime]
- **Framework**: [detected framework]
- **Key Libraries**: [relevant libraries detected]

---

### 🔌 MCP Servers

#### context7
**Why**: [specific reason based on detected libraries]
**Install**: `claude mcp add context7`

---

### 🎯 Skills

#### [skill name]
**Why**: [specific reason]
**Create**: `.claude/skills/[name]/SKILL.md`
**Invocation**: User-only / Both / Claude-only
**Also available in**: [plugin-name] plugin (if applicable)
```yaml
---
name: [skill-name]
description: [what it does]
disable-model-invocation: true  # for user-only
---

⚡ Hooks

[hook name]

Why: [specific reason based on detected config] Where: .claude/settings.json


🤖 Subagents

[agent name]

Why: [specific reason based on codebase patterns] Where: .claude/agents/[name].md


Want more? Ask for additional recommendations for any specific category (e.g., "show me more MCP server options" or "what other hooks would help?").

Want help implementing any of these? Just ask and I can help you set up any of the recommendations above.


## Decision Framework

### When to Recommend MCP Servers
- External service integration needed (databases, APIs)
- Documentation lookup for libraries/SDKs
- Browser automation or testing
- Team tool integration (GitHub, Linear, Slack)
- Cloud infrastructure management

### When to Recommend Skills

- Document generation (docx, xlsx, pptx, pdf — also in plugins)
- Frequently repeated prompts or workflows
- Project-specific tasks with arguments
- Applying templates or scripts to tasks (skills can bundle supporting files)
- Quick actions invoked with `/skill-name`
- Workflows that should run in isolation (`context: fork`)

**Invocation control:**
- `disable-model-invocation: true` — User-only (for side effects: deploy, commit, send)
- `user-invocable: false` — Claude-only (for background knowledge)
- Default (omit both) — Both can invoke

### When to Recommend Hooks
- Repetitive post-edit actions (formatting, linting)
- Protection rules (block sensitive file edits)
- Validation checks (tests, type checks)

### When to Recommend Subagents
- Specialized expertise needed (security, performance)
- Parallel review workflows
- Background quality checks

### When to Recommend Plugins
- Need multiple related skills
- Want pre-packaged automation bundles
- Team-wide standardization

---

## Configuration Tips

### MCP Server Setup

**Team sharing**: Check `.mcp.json` into repo so entire team gets same MCP servers

**Debugging**: Use `--mcp-debug` flag to identify configuration issues

**Prerequisites to recommend:**
- GitHub CLI (`gh`) - enables native GitHub operations
- Puppeteer/Playwright CLI - for browser MCP servers

### Headless Mode (for CI/Automation)

Recommend headless Claude for automated pipelines:

```bash
# Pre-commit hook example
claude -p "fix lint errors in src/" --allowedTools Edit,Write

# CI pipeline with structured output
claude -p "\x3Cprompt>" --output-format stream-json | your_command

Permissions for Hooks

Configure allowed tools in .claude/settings.json:

{
  "permissions": {
    "allow": ["Edit", "Write", "Bash(npm test:*)", "Bash(git commit:*)"]
  }
}
安全使用建议
This skill mostly does what it says — analyze a codebase and recommend automations — but there are a few things to check before installing or enabling it: - Confirm runtime tool restrictions: the SKILL.md lists Bash as an allowed tool but the text says 'read-only'. If you do not want the agent to execute shell commands, restrict/remove Bash from allowed tools at runtime. - Be cautious about web search/external queries: the skill instructs the agent to 'use web search' for up-to-date recommendations. If your agent's search tool would send code or repository context to external services, that could leak sensitive code/metadata. Prefer limiting the agent to local references or an internal documentation MCP if privacy is a concern. - Sensitive files: the skill scans for .env and other sensitive patterns. Ensure it is not allowed to read or transmit the contents of those files; detection (existence checks) is reasonable, but full reads should be guarded. - Review any suggested hook commands before applying them: example hooks in the references run OS commands (afplay, osascript). Those are harmless examples but hooks can execute arbitrary commands; do not enable hooks that run unreviewed commands on your machine. If you want to reduce risk: run the skill in a read-only mode that removes Bash and any external web/search tools, or run it manually (ask for recommendations but do not enable autonomous invocation). If you want higher confidence, ask the skill author to confirm the allowed-tools frontmatter and whether any network calls are performed automatically.
功能分析
Type: OpenClaw Skill Name: claude-automation-recommender Version: 0.1.0 The 'claude-automation-recommender' skill is a legitimate utility designed to analyze a project's structure and dependencies to suggest relevant Claude Code automations like hooks, MCP servers, and plugins. It uses standard, read-only shell commands (ls, cat, grep) in SKILL.md for discovery and provides comprehensive reference documentation in the references/ directory. There is no evidence of malicious intent, data exfiltration, or harmful prompt injection.
能力评估
Purpose & Capability
Name/description align with the files and references: the skill is an analyzer that recommends hooks, subagents, skills, plugins and MCP servers. The reference materials and examples are consistent with that purpose and the recommendations fit the domain.
Instruction Scope
The SKILL.md explicitly states 'read-only' and shows only read-style commands (ls, cat, grep), but its declared tools include Bash which can run arbitrary shell commands. The guidance to 'use web search to find recommendations specific to the codebase' is vague and may cause the agent to send code snippets or project context to external services if a web-search tool is available — this is an exfiltration/privacy risk unless the agent is restricted. The references also include dynamic command injection patterns (e.g., !`git ...`) and example hooks that run OS commands; those are legitimate for diagnostics but widen what the agent could do.
Install Mechanism
Instruction-only skill with no install spec and no code files to execute; low install risk.
Credentials
The skill requests no environment variables or credentials, which is proportionate. However it recommends detecting presence of sensitive files (e.g., .env) and may include commands that could be used to read files; while detection is reasonable, you should ensure the agent is not allowed to cat or transmit secrets. No credentials are declared, but the agent's use of Bash or web search could lead to exposure if unconstrained.
Persistence & Privilege
No elevated persistence (always:false). Model invocation is allowed (normal). Because the skill can recommend creating project config (.claude/) or .mcp.json and promotes hooks that execute commands, the combination of autonomous model invocation plus Bash/web access would increase risk — though autonomous invocation alone is not a problem, it's notable when coupled with the other points above.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install claude-automation-recommender
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /claude-automation-recommender 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial release of claude-automation-recommender. - Analyzes your codebase to recommend Claude Code automations: hooks, subagents, skills, plugins, and MCP servers. - Recommendations are tailored by project type, frameworks, detected tools, and project patterns. - Clear summary for each category with top 1–2 recommendations, so users aren’t overwhelmed. - Includes workflow and example shell commands for project analysis. - Output guides users on how to implement suggestions and how to request more recommendations.
元数据
Slug claude-automation-recommender
版本 0.1.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

Claude Automation Recommender 是什么?

Analyze a codebase and recommend Claude Code automations (hooks, subagents, skills, plugins, MCP servers). Use when user asks for automation recommendations,... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 280 次。

如何安装 Claude Automation Recommender?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install claude-automation-recommender」即可一键安装,无需额外配置。

Claude Automation Recommender 是免费的吗?

是的,Claude Automation Recommender 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Claude Automation Recommender 支持哪些平台?

Claude Automation Recommender 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Claude Automation Recommender?

由 vinhltt(@vinhltt)开发并维护,当前版本 v0.1.0。

💬 留言讨论