Update provider configs from official docs, add HARNESSES.md reference

Research each harness's official documentation to verify and correct
provider frontmatter configs. Remove Codex/Gemini body transforms that
targeted their commands systems, not skills.

- Add compatibility + metadata to Cursor and Agents (Copilot)
- Add allowed-tools to Pi
- Remove Codex $ARGNAME and Gemini {{args}} body transforms
- Add HARNESSES.md as source of truth for harness capabilities

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Paul Bakaus
2026-03-24 10:46:59 -07:00
co-authored by Claude Opus 4.6
parent 6de73abf1b
commit 2d4c7899dd
5 changed files with 87 additions and 129 deletions
+3 -15
View File
@@ -13,7 +13,7 @@ export const PROVIDERS = {
provider: 'cursor',
configDir: '.cursor',
displayName: 'Cursor',
frontmatterFields: ['license'],
frontmatterFields: ['license', 'compatibility', 'metadata'],
},
'claude-code': {
provider: 'claude-code',
@@ -26,30 +26,18 @@ export const PROVIDERS = {
configDir: '.gemini',
displayName: 'Gemini',
frontmatterFields: [],
bodyTransform: (body, skill) => {
if (skill.userInvocable) {
return body.replace(/\{\{[^}]+\}\}/g, '{{args}}');
}
return body;
},
},
codex: {
provider: 'codex',
configDir: '.codex',
displayName: 'Codex',
frontmatterFields: ['argument-hint', 'license'],
bodyTransform: (body, skill) => {
if (skill.userInvocable) {
return body.replace(/\{\{([^}]+)\}\}/g, (_, argName) => `$${argName.toUpperCase()}`);
}
return body;
},
},
agents: {
provider: 'agents',
configDir: '.agents',
displayName: 'Agents',
frontmatterFields: ['user-invocable', 'argument-hint'],
frontmatterFields: ['user-invocable', 'argument-hint', 'license', 'compatibility', 'metadata'],
},
kiro: {
provider: 'kiro',
@@ -67,6 +55,6 @@ export const PROVIDERS = {
provider: 'pi',
configDir: '.pi',
displayName: 'Pi',
frontmatterFields: ['license', 'compatibility', 'metadata'],
frontmatterFields: ['license', 'compatibility', 'metadata', 'allowed-tools'],
},
};