Skill-Transfer: Instructions file for Codex

AGENTS.md

Skill-Transfer AGENTS.md is an instructions file for Codex, OpenCode from Gnonymous/Skill-Transfer. It costs 1,058 tokens per session, scanned A, original, ISC.

Repository instructions for Skill Transfer, a TypeScript command-line tool that shares AI coding skills, workflows, and settings across environments. They describe its Google Antigravity adapter, commands, folders, and current testing status.

In plain words
What is it for?
Use them when installing dependencies, building the CLI, running its terminal interface, adding adapters, or checking the project with TypeScript.
Why use it?
They give coding agents the project background and the rules needed to build, run, and extend the tool consistently.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions Claude Code; mentions AGENTS.md.

This is Gnonymous/Skill-Transfer's own configuration. It tells Codex and OpenCode how to work on Skill-Transfer itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything Skill-Transfer configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Gnonymous/Skill-Transfer. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Gnonymous/Skill-Transfer/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/Gnonymous/Skill-Transfer

Made for: Codex, OpenCode.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for Skill-Transfer AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/gnonymous/skill-transfer/agents-md/github.svg)](https://agentmods.dev/instructions/gnonymous/skill-transfer/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/gnonymous/skill-transfer/agents-md"><img src="https://agentmods.dev/badge/instructions/gnonymous/skill-transfer/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for Skill-Transfer AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/gnonymous/skill-transfer/agents-md"><img src="https://agentmods.dev/badge/instructions/gnonymous/skill-transfer/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,058 This file is loaded in full into every session.
When invoked 1,058 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What 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.

ModelPer sessionOnce invoked
Fable 5.1 $0.01058 $0.01058
Opus 5.5 $0.00423 $0.00423
Sonnet 5.5 $0.00212 $0.00212
Haiku 4.5 $0.00106 $0.00106

Measured 2mo ago against content hash fe02af212ce8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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 2mo 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.

AGENTS.md · 85 lines

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) 和通用工具函数。

关键概念

  1. Skill (技能) vs Workflow (工作流):
    • Workflow: 安装时 SKILL.md 会被重命名为 <文件夹名>.md,文件平铺到目标目录。
      • Global: ~/.gemini/antigravity/global_workflows/
      • Local: .agent/workflows/
    • Skill: 安装时整个文件夹原样复制,不重命名。
      • Global: ~/.gemini/antigravity/global_skills/
      • Local: .agent/skills/
  2. ResourceType: 在导入时用户需选择资源类型 (workflow | skill)。
  3. Transformation: Adapter 根据 ResourceType 执行不同的安装逻辑。

TUI 交互流程

  1. 选择工具 → 用户先选择目标适配器(如 Antigravity)。
  2. 扫描技能 → 根据所选工具扫描本地技能库,并显示 [W|S] 状态:
    • W 绿色 = Workflow 已安装
    • S 绿色 = Skill 已安装
  3. 选择技能 → 用户勾选要安装的技能。
  4. 选择资源类型 → 用户选择按 Workflow 还是 Skill 模式安装。
  5. 选择安装模式 → Global 或 Local。

📝 必须遵守的规则

Read the full file on GitHub · 85 lines

Changes

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.

  1. 2mo ago First seen · 85 lines · 1,058 tokens per session scan A fe02af212ce8

Subscribe to this mod's changes

Skill-Transfer AGENTS.md is an instructions file published in the GitHub repository Gnonymous/Skill-Transfer (5 stars, last pushed 9mo ago), licensed ISC. It adds 1,058 tokens to every session, about $0.0042 per session on Opus 5.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.

Related

Skill-Transfer AGENTS.md compared with instructions from other repositories

Skill-Transfer AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
Skill-Transfer AGENTS.mdGnonymous/Skill-TransferInstructions file59mo agoISCA1,058Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file275k2d agoMITA4,313Codex, OpenCode