SkillBridge
AGENTS.md0 starsChanged 4 months agoApache-2.0View on GitHub
Write an AI skill once. Run it anywhere. Vendor-neutral interoperability and conversion layer for AI-agent skills. Pre-alpha bootstrap monorepo. 16 workspace packages: 3 with real code (core, ir, adapter-sdk), 8 are JSDoc stubs, 4 adapters (portable, claude, codex, opencode) and CLI app are all stubs. CI workflow exists at .github/workflows/ci.yml. Verification order (pnpm verify runs all): pnpm format:check → pnpm lint → pnpm typecheck → pnpm test:unit → pnpm test:integration → pnpm test:roundtrip → pnpm test:conversion → pnpm build Every…
- Reads credentials
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,691 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repositoryOne other file it gives its agents.
- contract-skillSkill
The file
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
14 rules. About 1 is common, 9 are distinctive, and 4 are very specific to this project.
≈1
Common · estimate
Many files like this have a rule of this kind.
≈9
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Very specific: line 26
Every conversion passes through the vendor-neutral SkillBridge IR:
- Distinctive: line 30
No direct pairwise converters (e.g., no "Claude-to-Codex").
- Distinctive: line 63
No open-source package may import commercial code
- Distinctive: line 64
No circular dependencies between workspace packages
- Very specific: line 83
Add tests for every behavior change.
- Distinctive: line 102
No fake implementations that mislead about functionality.
- Distinctive: line 103
No silent compatibility loss — adapters must not claim native support for emulated behavior.
- Distinctive: line 110
Avoid unrelated refactors.
- Very specific: line 111
Update TASKS.md when starting/completing work.
- Very specific: line 113
Run pnpm verify before completing work.
- Distinctive: line 119
No publishing, deploying, pushing, or creating releases without explicit approval.
- Distinctive: line 120
No destructive Git operations (force-push, rebase shared branches, delete tags) without explicit approval.
- Common: line 121
No committing secrets or API keys.
- Distinctive: line 122
No modifying files outside the repository.
≈ “Common” is an estimate: at least 1 in 5 of the 16,597 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
SkillBridge Agent Instructions
Write an AI skill once. Run it anywhere. Vendor-neutral interoperability and conversion layer for AI-agent skills.
Pre-alpha bootstrap monorepo. 16 workspace packages: 3 with real code (core, ir, adapter-sdk), 8 are JSDoc stubs, 4 adapters (portable, claude, codex, opencode) and CLI app are all stubs. CI workflow exists at .github/workflows/ci.yml.
Commands
Verification order (pnpm verify runs all):
pnpm format:check → pnpm lint → pnpm typecheck → pnpm test:unit → pnpm test:integration → pnpm test:roundtrip → pnpm test:conversion → pnpm build
pnpm lint— ESLint with--max-warnings 0,@typescript-eslint/no-explicit-any: errorpnpm format— Prettier (single quotes, trailing commas, printWidth 100, lf)pnpm typecheck/pnpm build— recursive (pnpm -r)pnpm clean— recursive (pnpm -r clean)- Focused tests:
pnpm test:unit,pnpm test:integration,pnpm test:roundtrip,pnpm test:conversion
Architecture
Conversion Pipeline
Every conversion passes through the vendor-neutral SkillBridge IR:
source skill → source adapter → SkillBridge IR → capability analysis → target adapter → compiled target
No direct pairwise converters (e.g., no "Claude-to-Codex"). All conversions through IR.
Package Responsibilities
| Package | Purpose |
packages/core | Domain primitives, Result<T,E>, Diagnostic, SkillBridgeError |
packages/schema | Runtime schemas, validation primitives |
packages/ir | Vendor-neutral IR types and metadata |
packages/parser | Source/package parsing, markdown, frontmatter |
packages/compatibility | Capability comparison, degradation analysis |
packages/compiler | Target-compilation infrastructure, manifests |
packages/conversion | Pipeline orchestration (detect → parse → normalize → analyze → compile → verify) |
packages/runtime | Execution sessions, permission gates, tool bridges |
packages/adapter-sdk | Public Adapter interface and AdapterManifest contract |
packages/registry-local | Local package cache |
packages/testing | Shared fixtures and test helpers |
apps/cli | CLI (stub — prints "pre-alpha" only) |
adapters/* | Vendor-specific detection, parsing, normalization, compilation |
Dependency Direction
core ← schema ← ir ← parser ← compatibility ← compiler ← conversion
↓
adapter-sdk ← adapters (portable, claude, codex, opencode)
↓
apps/cli- core must not import adapters or commercial modules
- ir, parser, compatibility, compiler must not import concrete adapters
- conversion may depend on adapter-sdk interfaces but not concrete adapters
- No open-source package may import commercial code
- No circular dependencies between workspace packages
Open-Source vs Commercial
Essential interop, parsing, conversion, compilation, basic adapters, and local testing remain open source under Apache 2.0. Future commercial capabilities (hosted registries, SSO, audit logging, analytics) would be separate and optional. See OPEN_SOURCE_BOUNDARY.md.
Local-First Development
Everything must work locally without Docker, cloud services, or paid APIs. Tests use fixtures, temporary directories, and mocks. No env vars required (.env.example keys are all optional).
Testing
- Vitest workspace with 4 projects:
unit,integration,roundtrip,conversion - Unit tests:
packages/*/src/**/*.test.ts(excludesintegration/,roundtrip/,conversion/) - Project-specific tests:
packages/*/src/**/<project>/**/*.test.ts - Add tests for every behavior change. Tests must be meaningful (no
assert(true)). - Placeholder test suites exist —
'placeholder'.toBeDefined()is not meaningful
Conventions
- TypeScript strict mode,
noUnusedLocals,noUnusedParameters— prefix unused params with_ - ESLint
no-explicit-any: error— avoidanytype - pnpm hoisted linker (
node-linker=hoistedin.npmrc), Node >=20, pnpm 11.17.0
Rules
- Security restrictions must never be silently weakened. Permissions must be preserved or explicitly reported as changed.
- Unknown fields must never be silently discarded. Lossy mappings must produce explicit diagnostics.
- Unsupported behavior must produce explicit diagnostics.
- Original provenance must be retained through conversions.
- No fake implementations that mislead about functionality. Placeholder docs preferred over misleading stubs.
- No silent compatibility loss — adapters must not claim native support for emulated behavior.
Process
- Inspect existing code before editing. Follow existing patterns and conventions.
- Avoid unrelated refactors. Change only what the task requires.
- Update
TASKS.mdwhen starting/completing work. - Record irreversible architectural decisions in
DECISIONS.md. - Run
pnpm verifybefore completing work.
Prohibitions
- No publishing, deploying, pushing, or creating releases without explicit approval.
- No destructive Git operations (force-push, rebase shared branches, delete tags) without explicit approval.
- No committing secrets or API keys.
- No modifying files outside the repository.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

