Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add instructions/gnonymous/skill-transfer/agents-mdgit clone --depth 1 https://github.com/Gnonymous/Skill-TransferWhat it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.01058 | $0.01058 |
| Opus 5 | $0.00529 | $0.00529 |
| Sonnet 5 | $0.00212 | $0.00212 |
| Haiku 4.5 | $0.00106 | $0.00106 |
Grade A, and why
Skill-Transfer AGENTS.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 85 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
This file provides guidance to ALL coding agent when working with code in this repository.
📖 项目简介
Skill Transfer CLI (st) 是一款 TypeScript 编写的命令行工具,用于跨环境、跨工具管理和共享 AI 编码技能(工作流、提示词、配置)。
核心目标是实现"一次编写,到处运行"的 AI 技能分发。
目前主要支持 Google Antigravity (Gemini) 适配器,支持 Global(全局用户配置)和 Local(项目级配置)两种导入模式。
🛠️ 常用开发命令
构建与运行
- 安装依赖:
npm install - 构建项目:
npm run build(编译 TS -> JS) - 开发模式:
npm run dev(监听文件变化并自动编译) - 运行 CLI:
node dist/bin/skill-transfer.js --help - 运行 TUI:
node dist/bin/skill-transfer.js interactive
测试与检查
- 测试: 目前暂无自动化测试 (
npm test仅仅是占位符)。 - Lint: 依赖
tsc编译检查,尚未集成 ESLint。
🏗️ 代码架构
本项目遵循 模块化 (Modular) 和 适配器 (Adapter) 设计模式。
核心目录 (src/)
adapters/: 扩展核心。- 定义了
Adapter接口 (见core/types.ts)。 - 目前实现:
AntigravityAdapter.ts。 - 扩展指南: 若要支持 Claude Code 或 Cursor,请在此目录下新建
ClaudeAdapter.ts等,并实现import,listInstalled等方法。
- 定义了
commands/: CLI 命令层。- 使用
commander定义import等指令。 - 负责解析参数并调用相应的 Adapter。
- 使用
interactive/: TUI 交互层。- 使用
@inquirer/prompts构建终端菜单。 - 处理用户选择技能、目标环境的逻辑。
- 使用
core/: 通用逻辑。- 包含类型定义 (
types.ts) 和通用工具函数。
- 包含类型定义 (
关键概念
- Skill (技能) vs Workflow (工作流):
- Workflow: 安装时
SKILL.md会被重命名为<文件夹名>.md,文件平铺到目标目录。- Global:
~/.gemini/antigravity/global_workflows/ - Local:
.agent/workflows/
- Global:
- Skill: 安装时整个文件夹原样复制,不重命名。
- Global:
~/.gemini/antigravity/global_skills/ - Local:
.agent/skills/
- Global:
- Workflow: 安装时
- ResourceType: 在导入时用户需选择资源类型 (
workflow|skill)。 - Transformation: Adapter 根据 ResourceType 执行不同的安装逻辑。
TUI 交互流程
- 选择工具 → 用户先选择目标适配器(如 Antigravity)。
- 扫描技能 → 根据所选工具扫描本地技能库,并显示
[W|S]状态:W绿色 = Workflow 已安装S绿色 = Skill 已安装
- 选择技能 → 用户勾选要安装的技能。
- 选择资源类型 → 用户选择按 Workflow 还是 Skill 模式安装。
- 选择安装模式 → Global 或 Local。
📝 必须遵守的规则
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2d ago First seen · 85 lines · 1,058 tokens per session scan A fe02af212ce8
Skill-Transfer AGENTS.md is an instructions file published in the GitHub repository Gnonymous/Skill-Transfer (5 stars, last pushed 7mo ago), licensed ISC. It adds 1,058 tokens to every session, about $0.0053 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other instructions, from other repositories
codex AGENTS.md
AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.
buildNext
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
next.js AGENTS.md
Instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).
spec-kit AGENTS.md
Instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.
langchain AGENTS.md
Instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.