agent-scripts
7,481
Stars
651
Forks
62
Watchers
8
Open Issues
MIT
许可证
Shell
语言
2025-11-08
创建时间
2026-10-30
最近更新
项目能做什么
作者在多个仓库间共享的 Agent 自动化脚本集。
来源:基于仓库元数据
· 内容以仓库实际 README 为准
使用说明 查看原始 README 原仓库文档
中文使用说明暂未生成。下面保留原仓库 README 摘录,命令与配置均以原文为准。
原始 README 摘录(英文原文,节选前 3000 字符)
# Agent Scripts Shared agent instructions, skills, and small portable helpers for Peter's local workspaces. This repo is the canonical place for: - `AGENTS.MD`: shared hard rules for Codex/Claude-style agents - `skills/`: reusable workflow skills, including repo-owned skills exposed by symlink - `scripts/`: dependency-light helpers used across projects - `hooks/`: local guardrails such as skill validation ## Skills Skills are the main routing layer. Each `skills/<name>/SKILL.md` has YAML front matter: ```yaml --- name: skill-name description: "Short generic trigger phrase." --- ``` Rules: - Keep descriptions short and generic; optimize for routing, not documentation. - Keep skill bodies terse and operational. - Prefer helper scripts under `skills/<name>/scripts/` when a workflow has repeatable commands. - Validate after edits: `scripts/validate-skills`. - Quote `description` in front matter. Global discovery is built by `scripts/sync-skills` (idempotent; run on every Mac after cloning or adding skills): - Codex scans nested dirs, so it gets whole-root links: `~/.codex/skills/agent-scripts -> ~/Projects/agent-scripts/skills`, `~/.codex/skills/manager -> ~/Projects/manager/skills`. - Claude Code loads only `~/.claude/skills/<name>/SKILL.md` (exactly one level deep; per-entry symlinks are followed, category subfolders are not scanned — verified on 2.1.197). It gets a flat per-skill link mirror covering both repos plus machine-local `~/.codex/skills/<name>` extras. - Name collisions resolve agent-scripts > manager > codex-local; the script prints skipped duplicates and prunes broken/stale managed links. - Real destination files and directories are preserved. A real Claude skill directory with a Codex backlink to that same directory satisfies local ownership; other real destination conflicts are reported and make sync fail. For the specific legacy topology `~/.claude/skills/NAME/NAME -> ~/.codex/skills/NAME -> ~/.claude/skills/NAME`, invoke the sync owner directly with an explicit allowlist: ```bash /absolute/path/to/agent-scripts/scripts/sync-skills --repair-nested-self-links --dry-run -- boxd-cli boxd-setup-deploy ``` ```bash /absolute/path/to/agent-scripts/scripts/sync-skills --repair-nested-self-links -- boxd-cli boxd-setup-deploy ``` This mode validates every candidate before unlinking only the extra nested leaves. It preserves the real skill directories, assets, and valid Codex backlinks, and exits before creating roots, building mirrors, pruning, or touching instruction pointers. Names must start with an ASCII letter or digit and contain only letters, digits, `.`, `_`, or `-`; duplicates, missing names, and unknown arguments are rejected. A missing nested leaf is a no-op only with the expected surrounding topology. Redirected/inaccessible roots, unexpected objects or literal targets, and changed directory/link identities cause refusal. Rechecks before each unlink are not atomic concurrency protection; a later error stops the batch an阅读完整原文
项目深度分析 规则生成(AI 未配置)
综合评分 46.6 分。该项目在“个人可实施性”维度得 35 分,“付费可能性”维度得 32.0 分,差异化空间 70.0 分(评分依据见评分卡)。
面向细分需求的二次开发产品
| 产品构想 | 基于 agent-scripts 的核心能力,聚焦一个更窄的场景(如某平台、某行业)做差异化。 |
| 目标用户 | 该细分场景用户 |
| 难度/周期 | 中 · 2~6 周 |
| 收费模式 | 买断制 / 订阅制 / 广告 |
| 竞争风险 | 细分需求规模需验证 |
| 依据 | AI 推测:基于项目主题标签的判断 |
以上为规则引擎基于仓库公开数据生成的参考结论,包含推测成分,不构成投资或创业承诺;配置 AI 后可获得更深入的分析。
报告会保存到 个人中心
竞品与相似项目 GitHub Search 真实检索
相似项目数据正在完善中,暂不展示(避免误导)
项目优势与风险
| 技术成熟度 | 创建于 2025-11-08,近 30 天仍在推送,发布过 1 个 Release |
| 社区活跃 | Star 7,481 / Fork 651 / Issue 8(数据支持,可自行核实) |
| 许可证 | MIT |
| 主要风险 | 上游项目方向可能变化;同赛道竞争者较多(见竞品表);热度与需求不完全等价 |
安装与使用
此项目未提供 Docker 镜像,安装步骤以原仓库 README 为准(涉及依赖安装与环境配置,对新手门槛较高)。