Borrowing it
Nothing to install: this file belongs to liuxingqitd/skills-hub. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/liuxingqitd/skills-hub/main/AGENTS.mdgit clone --depth 1 https://github.com/liuxingqitd/skills-hubWrote 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.
[](https://agentmods.dev/instructions/liuxingqitd/skills-hub/agents-md)<a href="https://agentmods.dev/instructions/liuxingqitd/skills-hub/agents-md"><img src="https://agentmods.dev/badge/instructions/liuxingqitd/skills-hub/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.
<a href="https://agentmods.dev/instructions/liuxingqitd/skills-hub/agents-md"><img src="https://agentmods.dev/badge/instructions/liuxingqitd/skills-hub/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00732 | $0.00732 |
| Opus 5 | $0.00366 | $0.00366 |
| Sonnet 5 | $0.00146 | $0.00146 |
| Haiku 4.5 | $0.00073 | $0.00073 |
Grade A, and why
skills-hub 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 9d 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.
Copies of this mod
1 near-identical copy found in the catalogue:
- skills-hub CLAUDE.md — 92% identical, 6 lines differ
What it actually says
AGENTS.md
This file provides guidance to Codex (Codex.ai/code) when working with code in this repository.
Commands
npm run dev # Start dev server (默认 3000)
npm run dev:reset # Clear .next cache then start dev server
npm run build # Production build
npm start # Start production server
npm run lint # next lint
npm test # vitest run (all tests)
npx tsc --noEmit # TypeScript type check
重要: 开发服务器在
http://localhost:3000运行。不要手动修改端口。
Project Overview
Skills Hub — 本地 AI agent skills 管理工作台 (Next.js 15 / React 19 / TypeScript 5.9 / Tailwind CSS v4)。浏览和管理各 AI agent(Codex、Codex、Cursor、Trae)已安装的 skills,跟踪同步状态与差异,编辑全局规则文件。
Architecture
应用结构
app/— Next.js App Router(页面 + API 路由)- 页面:
/(技能仪表盘)、/instructions(全局规则编辑器)、/agents、/registry、/sync - 数据获取:页面使用 server component 直接调用
src/lib/server/中的模型函数 - API:
app/api/下的 route handlers 供客户端组件调用
- 页面:
src/components/— React 客户端组件ui/— 通用 UI 原子组件board/,instructions/,overview/,registry/,sync/— 页面级组件
src/lib/— 核心业务逻辑,按领域分包:config/— agent 配置与 custom skillsskills/— skill 扫描、分类、安装状态判断instructions/— 规则文件扫描、哈希、写入sync/— 同步计划构建、应用、移除server/— server-only 模型构建函数
src/types/— 全局类型定义config/— agent 定义 (agents.json) 和 custom skills 列表tests/fixtures/— 测试夹具目录
关键设计决策
- 文件系统即数据源:所有 agent 配置和 skill 都来自本地文件系统,无外部数据库
- 测试与源码同目录:
*.test.ts放在对应src/lib/源码旁,而非集中存放 - 无 ESLint 配置文件:依赖 Next.js 内置 lint
- 无 Tailwind 配置文件:使用 Tailwind v4 零配置模式 (
@import "tailwindcss") - Server/Client 明确分层:数据模型在
src/lib/server/中构建(仅服务端),组件层负责展示
Agent 配置格式
config/agents.json 定义各 agent 的 skills 目录路径和安装规则。每个 agent 包含名称、技能目录路径、以及源 skills 目录的映射(source → 安装路径)。
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.
- 9d ago First seen · 55 lines · 732 tokens per session scan A d3e54b1bda59
skills-hub AGENTS.md is an instructions file published in the GitHub repository liuxingqitd/skills-hub (81 stars, last pushed 8d ago), licensed MIT. It adds 732 tokens to every session, about $0.0037 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-30.
Other instructions, from other repositories
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
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.
vscode buildNext.instructions.md
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).
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).
langchain AGENTS.md
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.
spec-kit AGENTS.md
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.