Token导航 LogoToken导航

Agent Skill · 开发

agent-principles(Agent 原则)

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

agent-principles 是开发类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为调用外部服务;许可证信息还不明确,第三方扫描已通过,按安装量在开发类的 21,746 个 Skill 里排第 21,023。

总安装 196周安装 8GitHub Stars 2下载 63核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/akillness/oh-my-gods --skill agent-principles

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

定义 AI-Agent 协作的核心原则,明确开发者与代理的职责分工边界。适用于启动复杂工作流前的策略制定、上下文管理及生产力优化。建立统一的思维框架,指导团队如何有效使用 AI 代理进行开发。不涉及具体工具调用,无需额外权限或网络访问。

agent-principles 属于开发类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/agent-principles

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/akillness/oh-my-gods --skill agent-principles;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

    它需要调用外部服务,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

agent-principles 怎么安装?

在终端执行 npx skills add https://github.com/akillness/oh-my-gods --skill agent-principles。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

agent-principles 支持哪些 AI 工具?

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

agent-principles 需要什么权限?

权限级别是调用外部服务。该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

agent-principles 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

agent-principles 用的人多吗?

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

agent-principles 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

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

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

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

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

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

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
agent-principles

Agent 原则 · 本页

1962调用外部服务未明确通过

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

SKILL.md 原文

Core Principles for AI-Agent Collaboration (Agentic Development Principles)

"AI is the copilot; you are the pilot." AI agents amplify a developer's thinking and take over repetitive work, but final decisions and responsibility always remain with the developer.

When to use this skill

  • Confirm the baseline principles at the start of an AI-agent session
  • Decide an approach before starting complex work
  • Establish a context-management strategy
  • Review workflows to improve productivity
  • Onboard teammates on how to use AI agents

Do not use this skill when

  • The user needs day-to-day tooling tactics, shortcuts, session choreography, or Git/MCP habits; route to agent-workflow
  • The user needs instruction-file, hooks, permissions, plugin, or team-sharing setup; route to agent-configuration
  • The user needs a platform-specific implementation recipe instead of cross-platform collaboration principles

Instructions

Step 1: Confirm this is a principles question

  • Use agent-principles when the user is asking how to work well with AI agents in general, not how to configure one platform or execute one daily workflow.
  • If the request is really about runtime configuration or workflow mechanics, hand off early to the narrower sibling skill.

Step 2: Apply the six-principle checklist

Use the principles below as a compact operating checklist:

  1. Divide and conquer
  2. Keep context fresh
  3. Choose the right abstraction level
  4. Automate repeated work
  5. Balance plan mode and execute mode
  6. Verify outputs and reflect

For detailed examples, templates, and platform notes, use the reference file in references/core-principles.md.

Step 3: Recommend the smallest useful adjustment

  • Point to the one or two principles that matter most for the current situation.
  • Give a concrete next step, such as splitting the task, starting a fresh session, or switching from direct execution to a plan-first pass.
  • Prefer corrective guidance over a generic motivational lecture.

Step 4: Route adjacent jobs out explicitly

  • If the user needs workflow choreography, session rituals, or Git/MCP habits, route to agent-workflow.
  • If the user needs hooks, permissions, instruction files, or shared team setup, route to agent-configuration.
  • If the user needs verification depth or evaluation system design, route to agent-evaluation.

Principles Summary

PrincipleCore questionImmediate correction
Divide and conquerIs the task too broad?Split it into independently checkable steps
Context hygieneIs stale context hurting focus?Start a fresh session or write a handoff
Abstraction choiceAm I too shallow or too deep?Switch between overview and line-level review deliberately
AutomationHave I repeated this enough to encode it?Turn repetition into a command, skill, or rule
Plan vs executeIs this safe to do directly?Use plan-first for risky or wide-scope work
VerificationHave I proved the output works?Add tests, diff review, or self-checks before trusting it

Examples

Example 1: Broad request before implementation

Input:

How should I work with an AI coding agent on a messy refactor?

Output shape:

  • surfaces divide-and-conquer, plan-vs-execute, and verification as the main principles
  • recommends a staged plan instead of one monolithic prompt
  • routes workflow-specific mechanics elsewhere if needed

Example 2: Route a workflow question away

Input:

What slash commands and MCP habits should I use in Claude Code?

Output shape:

  • states that the request belongs to agent-workflow, not agent-principles
  • briefly explains why the issue is workflow-specific rather than principle-level
  • keeps the route-out explicit instead of trying to answer both skills at once

Best practices

  • Keep the entrypoint focused on durable collaboration habits, not platform trivia
  • Prefer one or two relevant principles over dumping the whole checklist every time
  • Route adjacent jobs out early so this skill stays distinct from workflow and configuration surfaces
  • Keep deep examples, templates, and platform notes in references instead of bloating the main file

References

平台分布

Codex

35.92%
按下载量换算23

Claude

32.66%
按下载量换算21

Cursor

17.24%
按下载量换算11

Gemini CLI

8.57%
按下载量换算5

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

调用外部服务

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills