agentleFS
gwolf2025gwolf2025/SkillBridge/AGENTS.md

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 code style.

    Of the AGENTS.md files we read, the 35,266 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.

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
  1. Very specific:

    Every conversion passes through the vendor-neutral SkillBridge IR:

    line 26
  2. Distinctive:

    No direct pairwise converters (e.g., no "Claude-to-Codex").

    line 30
  3. Distinctive:

    No open-source package may import commercial code

    line 63
  4. Distinctive:

    No circular dependencies between workspace packages

    line 64
  5. Very specific:

    Add tests for every behavior change.

    line 83
  6. Distinctive:

    No fake implementations that mislead about functionality.

    line 102
  7. Distinctive:

    No silent compatibility loss — adapters must not claim native support for emulated behavior.

    line 103
  8. Distinctive:

    Avoid unrelated refactors.

    line 110
  9. Very specific:

    Update TASKS.md when starting/completing work.

    line 111
  10. Very specific:

    Run pnpm verify before completing work.

    line 113
  11. Distinctive:

    No publishing, deploying, pushing, or creating releases without explicit approval.

    line 119
  12. Distinctive:

    No destructive Git operations (force-push, rebase shared branches, delete tags) without explicit approval.

    line 120
  13. Common:

    No committing secrets or API keys.

    line 121
  14. Distinctive:

    No modifying files outside the repository.

    line 122

≈ “Common” is an estimate: at least 1 in 5 of the 45,344 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

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: error
  • pnpm 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

PackagePurpose
packages/coreDomain primitives, Result<T,E>, Diagnostic, SkillBridgeError
packages/schemaRuntime schemas, validation primitives
packages/irVendor-neutral IR types and metadata
packages/parserSource/package parsing, markdown, frontmatter
packages/compatibilityCapability comparison, degradation analysis
packages/compilerTarget-compilation infrastructure, manifests
packages/conversionPipeline orchestration (detect → parse → normalize → analyze → compile → verify)
packages/runtimeExecution sessions, permission gates, tool bridges
packages/adapter-sdkPublic Adapter interface and AdapterManifest contract
packages/registry-localLocal package cache
packages/testingShared fixtures and test helpers
apps/cliCLI (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 (excludes integration/, 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 — avoid any type
  • pnpm hoisted linker (node-linker=hoisted in .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.md when starting/completing work.
  • Record irreversible architectural decisions in DECISIONS.md.
  • Run pnpm verify before 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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.