awesome-agents 0.1.1 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +12 -3
- package/CHANGELOG.md +56 -0
- package/README.md +49 -30
- package/docs/cli.md +20 -8
- package/docs/product/command-model.md +22 -4
- package/docs/product/harness-targets.md +18 -9
- package/docs/product/open-questions.md +3 -2
- package/docs/product/product-scope.md +23 -13
- package/docs/product/profile-source-format.md +26 -21
- package/package.json +1 -1
- package/src/cli.js +50 -17
- package/src/constants.js +8 -2
- package/src/help.js +530 -0
- package/src/installer.js +179 -29
- package/src/renderers.js +15 -13
- package/src/source.js +330 -33
package/AGENTS.md
CHANGED
|
@@ -7,10 +7,17 @@ agent profiles into agent harnesses. It intentionally mirrors the command shape
|
|
|
7
7
|
of `npx skills`, but installs profile artifacts for Codex, Claude Code, and
|
|
8
8
|
OpenCode.
|
|
9
9
|
|
|
10
|
-
The canonical source format is
|
|
10
|
+
The canonical source format is repo-neutral:
|
|
11
11
|
|
|
12
|
-
- `agents
|
|
13
|
-
- `agents
|
|
12
|
+
- `agents/<slug>/agent.yaml`: preferred YAML profile definition.
|
|
13
|
+
- `agents/<slug>/agent.agf.yaml`: Agent Format-style YAML profile definition.
|
|
14
|
+
- `agents/<slug>/agent.md`: Markdown profile definition with YAML frontmatter.
|
|
15
|
+
- `agents/<slug>/scripts/`: agent-owned scripts installed into the agent home.
|
|
16
|
+
- `agents/<slug>/references/`: agent-owned references installed into the agent home.
|
|
17
|
+
|
|
18
|
+
Never hard-code a particular source repository into runtime behavior, tests, or
|
|
19
|
+
examples. Use neutral fixture/source names unless a test is explicitly about
|
|
20
|
+
source resolution.
|
|
14
21
|
|
|
15
22
|
## Setup Commands
|
|
16
23
|
|
|
@@ -47,6 +54,8 @@ The canonical source format is the `touch-grass` layout:
|
|
|
47
54
|
## Safety
|
|
48
55
|
|
|
49
56
|
- Never overwrite or delete unmanaged harness files by default.
|
|
57
|
+
- Install agent-owned support files into `~/.agents/homes/<slug>/`, not into
|
|
58
|
+
harness configuration directories.
|
|
50
59
|
- Keep install behavior deterministic and noninteractive. `--yes` exists for
|
|
51
60
|
parity with `npx skills`, but the CLI should not require prompts to complete.
|
|
52
61
|
- Do not mutate harness configuration beyond writing the selected generated
|
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,62 @@
|
|
|
2
2
|
|
|
3
3
|
This file is maintained by `npm run changelog` and `npm run release`. Release entries are generated from git commit history.
|
|
4
4
|
|
|
5
|
+
## 0.1.5 - 2026-07-06
|
|
6
|
+
|
|
7
|
+
Changes since `v0.1.4`.
|
|
8
|
+
|
|
9
|
+
- No commits found for this release.
|
|
10
|
+
|
|
11
|
+
## 0.1.4 - 2026-07-06
|
|
12
|
+
|
|
13
|
+
Changes since `v0.1.3`.
|
|
14
|
+
|
|
15
|
+
### Added
|
|
16
|
+
|
|
17
|
+
- Add justfile for lint/test/release/publish workflows (7fe04ba)
|
|
18
|
+
- Add agent detail page and visual treatment explorations (7d29557)
|
|
19
|
+
- Add Claude Code plugin for browsing and installing agent profiles (5a11e6f)
|
|
20
|
+
- Add awesome-agents.com marketing/directory site (9ce50cd)
|
|
21
|
+
|
|
22
|
+
### Changed
|
|
23
|
+
|
|
24
|
+
- Link leaderboard rows to per-agent pages (6f2c471)
|
|
25
|
+
- Default install to every detected harness on PATH (b5af687)
|
|
26
|
+
- Render Codex profile metadata as comments (59395cc)
|
|
27
|
+
- Install agent-owned support files (3ede3ce)
|
|
28
|
+
|
|
29
|
+
## 0.1.3 - 2026-07-05
|
|
30
|
+
|
|
31
|
+
Initial tracked release.
|
|
32
|
+
|
|
33
|
+
### Added
|
|
34
|
+
|
|
35
|
+
- Add release automation (3ee72ed)
|
|
36
|
+
- Add chief of staff profile install support (e683a72)
|
|
37
|
+
|
|
38
|
+
### Fixed
|
|
39
|
+
|
|
40
|
+
- Fix flaky color-sensitive assertions in CLI tests (5262811)
|
|
41
|
+
- Fix agent profile install UX (961497c)
|
|
42
|
+
- Fix npm bin metadata (085e6ee)
|
|
43
|
+
|
|
44
|
+
### Changed
|
|
45
|
+
|
|
46
|
+
- Polish CLI help and profile source support (d931ae9)
|
|
47
|
+
- Split product notes by area (1d24611)
|
|
48
|
+
- Scaffold awesome-agents CLI (e1ec6a4)
|
|
49
|
+
|
|
50
|
+
## 0.1.2 - 2026-07-05
|
|
51
|
+
|
|
52
|
+
### Fixed
|
|
53
|
+
|
|
54
|
+
- Require an explicit source for `add`, `install`, and `use`; remove the hardcoded default source fallback.
|
|
55
|
+
- Replace source-specific help and documentation examples with neutral `owner/repo` examples.
|
|
56
|
+
- Parse repo-neutral YAML profile files in addition to Markdown frontmatter files.
|
|
57
|
+
- Replace source-specific test fixtures with neutral profile-source fixtures.
|
|
58
|
+
- Prefer `agents/<slug>/agent.yaml` source directories and install colocated
|
|
59
|
+
`scripts/` and `references/` into the agent home.
|
|
60
|
+
|
|
5
61
|
## 0.1.1 - 2026-07-05
|
|
6
62
|
|
|
7
63
|
Initial tracked release.
|
package/README.md
CHANGED
|
@@ -5,18 +5,17 @@ It mirrors the useful parts of `npx skills`, but the unit is an operational
|
|
|
5
5
|
agent profile instead of a skill.
|
|
6
6
|
|
|
7
7
|
Supported sources are GitHub repos, Git URLs, or local checkouts that use the
|
|
8
|
-
|
|
9
|
-
the selected harness, and installed into the
|
|
10
|
-
or OpenCode.
|
|
8
|
+
agent-profile source layout. Profiles are read from YAML or Markdown files under
|
|
9
|
+
`agents/<slug>/`, adapted for the selected harness, and installed into the
|
|
10
|
+
right place for Codex, Claude Code, or OpenCode.
|
|
11
11
|
|
|
12
12
|
## Install And Run
|
|
13
13
|
|
|
14
14
|
Use the CLI with `npx`:
|
|
15
15
|
|
|
16
16
|
```bash
|
|
17
|
-
npx awesome-agents add
|
|
18
|
-
npx awesome-agents add
|
|
19
|
-
npx awesome-agents add pablof7z/touch-grass --agent ios-tester --harness opencode
|
|
17
|
+
npx awesome-agents add owner/repo --agent triage-agent
|
|
18
|
+
npx awesome-agents add owner/repo --agent triage-agent --harness opencode
|
|
20
19
|
```
|
|
21
20
|
|
|
22
21
|
From this repo during development:
|
|
@@ -24,15 +23,15 @@ From this repo during development:
|
|
|
24
23
|
```bash
|
|
25
24
|
npm install
|
|
26
25
|
npm test
|
|
27
|
-
node ./bin/awesome-agents.js add
|
|
26
|
+
node ./bin/awesome-agents.js add ./test/fixtures/profile-source --agent triage-agent --dry-run
|
|
28
27
|
```
|
|
29
28
|
|
|
30
29
|
## Commands
|
|
31
30
|
|
|
32
31
|
```bash
|
|
33
|
-
awesome-agents add
|
|
34
|
-
awesome-agents install
|
|
35
|
-
awesome-agents use <source@profile> [options]
|
|
32
|
+
awesome-agents add <source> [options]
|
|
33
|
+
awesome-agents install <source> [options] # alias for add
|
|
34
|
+
awesome-agents use <source[@profile]> [options]
|
|
36
35
|
awesome-agents list [options]
|
|
37
36
|
awesome-agents remove <profile...> [options]
|
|
38
37
|
awesome-agents update [profile...] [options]
|
|
@@ -41,27 +40,34 @@ awesome-agents init [name]
|
|
|
41
40
|
|
|
42
41
|
Useful install options:
|
|
43
42
|
|
|
44
|
-
- `--agent <slug>` to select an agent profile, for example `--agent
|
|
43
|
+
- `--agent <slug>` to select an agent profile, for example `--agent triage-agent`
|
|
45
44
|
- `--profile <slug>` or `--skill <slug>` as explicit profile aliases; `--skill`
|
|
46
45
|
is command-shape compatibility and does not mean the artifact is a skill
|
|
47
|
-
- `--harness codex|claude-code|opencode|*` to select target harnesses
|
|
46
|
+
- `--harness codex|claude-code|opencode|*` to select target harnesses; without
|
|
47
|
+
it, the CLI installs to every harness whose CLI it finds on `PATH`
|
|
48
|
+
(falling back to Codex if none are found)
|
|
48
49
|
- `--all` to install all profiles to all supported harnesses
|
|
49
50
|
- `--dry-run` to preview writes
|
|
50
|
-
- `--project` for project-level install
|
|
51
|
+
- `--project` for project-level install where supported; Codex profiles install globally
|
|
51
52
|
- `--global` for user-level install
|
|
52
53
|
- `--list` to inspect available source profiles without installing
|
|
53
54
|
|
|
55
|
+
Human-readable output uses subtle ANSI color. Set `NO_COLOR=1` to disable color,
|
|
56
|
+
or pass `--json` for machine-readable output. After an install, the CLI also
|
|
57
|
+
prints run commands for target harness CLIs it finds on `PATH`, such as
|
|
58
|
+
`codex --profile <profile>` or `claude --agent <profile>`.
|
|
59
|
+
|
|
54
60
|
## Harness Targets
|
|
55
61
|
|
|
56
62
|
Project installs write to:
|
|
57
63
|
|
|
58
|
-
- Codex:
|
|
64
|
+
- Codex: not supported; Codex profiles load from user config
|
|
59
65
|
- Claude Code: `.claude/agents/<profile>.md`
|
|
60
66
|
- OpenCode: `.opencode/agents/<profile>.md`
|
|
61
67
|
|
|
62
68
|
Global installs write to:
|
|
63
69
|
|
|
64
|
-
- Codex: `$CODEX_HOME
|
|
70
|
+
- Codex: `$CODEX_HOME/<profile>.config.toml`, or `~/.codex/<profile>.config.toml`
|
|
65
71
|
- Claude Code: `$CLAUDE_HOME/agents/<profile>.md`, or `~/.claude/agents/<profile>.md`
|
|
66
72
|
- OpenCode: `$OPENCODE_CONFIG_DIR/agents/<profile>.md`, or `~/.config/opencode/agents/<profile>.md`
|
|
67
73
|
|
|
@@ -70,34 +76,47 @@ installs or `~/.awesome-agents/installed.json` for global installs. `list`,
|
|
|
70
76
|
`remove`, and `update` use this registry and refuse to overwrite or delete files
|
|
71
77
|
that do not contain the generated marker unless `--force` is passed.
|
|
72
78
|
|
|
79
|
+
Run Codex profiles with:
|
|
80
|
+
|
|
81
|
+
```bash
|
|
82
|
+
codex --profile <profile>
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
Codex expects a plain profile name. It does not accept a path passed to
|
|
86
|
+
`--profile`.
|
|
87
|
+
|
|
73
88
|
## Source Format
|
|
74
89
|
|
|
75
90
|
An agent-profile source should look like:
|
|
76
91
|
|
|
77
92
|
```text
|
|
78
93
|
agents/
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
94
|
+
triage-agent/
|
|
95
|
+
agent.yaml
|
|
96
|
+
ops-agent/
|
|
97
|
+
agent.agf.yaml
|
|
98
|
+
scripts/
|
|
99
|
+
heartbeat.sh
|
|
100
|
+
references/
|
|
101
|
+
runbook.md
|
|
84
102
|
```
|
|
85
103
|
|
|
86
|
-
|
|
87
|
-
|
|
104
|
+
YAML profile files are preferred. The loader also accepts Markdown files with
|
|
105
|
+
YAML frontmatter for compatibility with tools that use `.agent.md`-style
|
|
106
|
+
profiles. Agent-owned `scripts/` and `references/` are installed into
|
|
107
|
+
`~/.agents/homes/<slug>/scripts` and `~/.agents/homes/<slug>/references`.
|
|
88
108
|
|
|
89
109
|
## Examples
|
|
90
110
|
|
|
91
111
|
```bash
|
|
92
|
-
npx awesome-agents add
|
|
93
|
-
npx awesome-agents add
|
|
94
|
-
npx awesome-agents add
|
|
95
|
-
npx awesome-agents add
|
|
96
|
-
npx awesome-agents
|
|
97
|
-
npx awesome-agents use pablof7z/touch-grass --agent ios-ux-ui-critic --harness claude-code
|
|
112
|
+
npx awesome-agents add owner/repo --list
|
|
113
|
+
npx awesome-agents add owner/repo --agent triage-agent
|
|
114
|
+
npx awesome-agents add owner/repo --agent triage-agent --harness codex --global
|
|
115
|
+
npx awesome-agents add owner/repo --all --dry-run
|
|
116
|
+
npx awesome-agents use owner/repo --agent triage-agent --harness claude-code
|
|
98
117
|
npx awesome-agents list --json
|
|
99
|
-
npx awesome-agents remove
|
|
100
|
-
npx awesome-agents update
|
|
118
|
+
npx awesome-agents remove triage-agent --agent codex
|
|
119
|
+
npx awesome-agents update triage-agent --agent codex --dry-run
|
|
101
120
|
```
|
|
102
121
|
|
|
103
122
|
## Release Workflow
|
package/docs/cli.md
CHANGED
|
@@ -12,18 +12,23 @@
|
|
|
12
12
|
|
|
13
13
|
The CLI is noninteractive for the initial scaffold. Options such as `--yes` are
|
|
14
14
|
accepted for parity, but command behavior should be fully scriptable. Installs
|
|
15
|
-
default to project scope
|
|
15
|
+
default to project scope where the selected harness supports project-local
|
|
16
|
+
profiles. Codex is the exception: Codex `--profile` loads named config layers
|
|
17
|
+
from `CODEX_HOME`, so Codex profile installs are user-level.
|
|
16
18
|
|
|
17
19
|
## Source Resolution
|
|
18
20
|
|
|
19
21
|
Supported source values:
|
|
20
22
|
|
|
21
|
-
- Local path: `/
|
|
22
|
-
- GitHub shorthand: `
|
|
23
|
-
- GitHub URL: `https://github.com/
|
|
23
|
+
- Local path: `/path/to/agent-profiles`, `~/agent-profiles`, `.`
|
|
24
|
+
- GitHub shorthand: `owner/repo`
|
|
25
|
+
- GitHub URL: `https://github.com/owner/repo`
|
|
24
26
|
|
|
25
27
|
For GitHub sources, the CLI clones a shallow temporary copy and reads
|
|
26
|
-
`agents
|
|
28
|
+
`agents/<slug>/agent.yaml` style definitions.
|
|
29
|
+
|
|
30
|
+
There is no default source. `add`, `install`, and `use` require the caller to
|
|
31
|
+
provide a source explicitly.
|
|
27
32
|
|
|
28
33
|
## Install Syntax
|
|
29
34
|
|
|
@@ -36,15 +41,14 @@ npx awesome-agents add owner/repo --agent <profile-slug>
|
|
|
36
41
|
For example:
|
|
37
42
|
|
|
38
43
|
```bash
|
|
39
|
-
npx awesome-agents add
|
|
40
|
-
npx awesome-agents add pablof7z/touch-grass --agent chief-of-staff
|
|
44
|
+
npx awesome-agents add owner/repo --agent triage-agent
|
|
41
45
|
```
|
|
42
46
|
|
|
43
47
|
`--agent` selects the reusable agent profile. `--harness` selects where the
|
|
44
48
|
generated profile is installed:
|
|
45
49
|
|
|
46
50
|
```bash
|
|
47
|
-
npx awesome-agents add
|
|
51
|
+
npx awesome-agents add owner/repo --agent triage-agent --harness opencode
|
|
48
52
|
```
|
|
49
53
|
|
|
50
54
|
For backward compatibility, `--agent codex`, `--agent claude-code`, and
|
|
@@ -53,6 +57,14 @@ For backward compatibility, `--agent codex`, `--agent claude-code`, and
|
|
|
53
57
|
The `--skill` flag is accepted only as a command-shape alias for `--profile`.
|
|
54
58
|
Installed artifacts remain operational agent profiles.
|
|
55
59
|
|
|
60
|
+
After install, human-readable output should show the CLI command to run each
|
|
61
|
+
installed profile through any matching harness CLI found on `PATH`. Examples:
|
|
62
|
+
|
|
63
|
+
```bash
|
|
64
|
+
codex --profile triage-agent
|
|
65
|
+
claude --agent triage-agent
|
|
66
|
+
```
|
|
67
|
+
|
|
56
68
|
## Install Safety
|
|
57
69
|
|
|
58
70
|
Generated files contain the marker `Generated by awesome-agents`. The CLI refuses
|
|
@@ -21,7 +21,7 @@ Accepted direction:
|
|
|
21
21
|
The CLI supports:
|
|
22
22
|
|
|
23
23
|
- `--agent <slug>` as the preferred profile selector, matching user-facing
|
|
24
|
-
language such as `npx awesome-agents add owner/repo --agent
|
|
24
|
+
language such as `npx awesome-agents add owner/repo --agent triage-agent`.
|
|
25
25
|
- `--profile <slug>` to select profiles explicitly.
|
|
26
26
|
- `--skill <slug>` as a compatibility alias, even though the artifact is a profile.
|
|
27
27
|
- `--harness <codex|claude-code|opencode|*>` to select target harnesses.
|
|
@@ -34,9 +34,16 @@ The CLI supports:
|
|
|
34
34
|
|
|
35
35
|
Accepted implementation decision:
|
|
36
36
|
|
|
37
|
-
- Install scope defaults to project
|
|
38
|
-
- Codex is
|
|
39
|
-
|
|
37
|
+
- Install scope defaults to project where the target harness supports project-local profiles.
|
|
38
|
+
- Codex is an exception because `codex --profile <name>` loads
|
|
39
|
+
`$CODEX_HOME/<name>.config.toml`. Codex profile installs should use that
|
|
40
|
+
user-level config-layer target.
|
|
41
|
+
- When no `--harness` or legacy harness-valued `--agent` is provided, the CLI
|
|
42
|
+
installs to every supported harness whose CLI is detected on `PATH` (checks
|
|
43
|
+
for `codex`, `claude`, `opencode`). If none are detected, it falls back to
|
|
44
|
+
Codex only.
|
|
45
|
+
- `--harness <harness>` (or a harness-valued `--agent`) narrows the install to
|
|
46
|
+
that single harness, overriding detection.
|
|
40
47
|
- The CLI is noninteractive in the initial scaffold.
|
|
41
48
|
- `--yes` is accepted for command-shape parity, but prompts are not currently required.
|
|
42
49
|
|
|
@@ -45,5 +52,16 @@ Accepted implementation decision:
|
|
|
45
52
|
The CLI should be useful from automation:
|
|
46
53
|
|
|
47
54
|
- Human-readable output should include clear target paths.
|
|
55
|
+
- Human-readable install output should show how to run the installed profile
|
|
56
|
+
through harness CLIs detected on the user's machine.
|
|
48
57
|
- `--json` should be available for scripts.
|
|
49
58
|
- `--dry-run` should preview writes without touching target files or registries.
|
|
59
|
+
|
|
60
|
+
## Profile Identity
|
|
61
|
+
|
|
62
|
+
User correction:
|
|
63
|
+
|
|
64
|
+
- Each installed profile should instruct the harness to identify itself by its
|
|
65
|
+
installed name and role. If the user asks the running agent "who are you?" or
|
|
66
|
+
asks for `triage-agent`, it should know it is the `triage-agent` profile or at
|
|
67
|
+
least that its role is Triage Agent.
|
|
@@ -12,21 +12,28 @@ Initial harness targets:
|
|
|
12
12
|
|
|
13
13
|
## Codex
|
|
14
14
|
|
|
15
|
-
Generated Codex
|
|
15
|
+
Generated Codex profiles install to:
|
|
16
16
|
|
|
17
|
-
- Project:
|
|
18
|
-
- Global: `$CODEX_HOME
|
|
17
|
+
- Project: not supported; Codex profiles load from user config
|
|
18
|
+
- Global: `$CODEX_HOME/<profile>.config.toml`, or `~/.codex/<profile>.config.toml`
|
|
19
|
+
|
|
20
|
+
Run with:
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
codex --profile <profile>
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
Codex profiles are not project-local in the same way Claude Code and OpenCode
|
|
27
|
+
agents are. `--profile` expects a plain name and layers the corresponding config
|
|
28
|
+
file from `CODEX_HOME`.
|
|
19
29
|
|
|
20
30
|
The generated TOML includes:
|
|
21
31
|
|
|
22
|
-
- `name`
|
|
23
|
-
- `description`
|
|
24
32
|
- optional model settings
|
|
25
33
|
- `developer_instructions`
|
|
26
34
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
- Whether future versions should also generate Codex `--profile` config layers in addition to Codex custom agents.
|
|
35
|
+
Profile name and summary are emitted as comments, not TOML keys, because Codex
|
|
36
|
+
rejects unknown configuration fields under strict config parsing.
|
|
30
37
|
|
|
31
38
|
## Claude Code
|
|
32
39
|
|
|
@@ -48,4 +55,6 @@ OpenCode output is Markdown with frontmatter and a generated marker.
|
|
|
48
55
|
|
|
49
56
|
## Adapter Gaps
|
|
50
57
|
|
|
51
|
-
|
|
58
|
+
Some source repositories may provide Codex adapters first. Claude Code and
|
|
59
|
+
OpenCode use generated defaults unless a source repository adds native adapters
|
|
60
|
+
for those harnesses.
|
|
@@ -16,5 +16,6 @@ These are unresolved product questions for `awesome-agents`.
|
|
|
16
16
|
|
|
17
17
|
## Harness Support
|
|
18
18
|
|
|
19
|
-
- Should future versions
|
|
20
|
-
|
|
19
|
+
- Should future versions also support Codex custom-agent files in addition to
|
|
20
|
+
Codex `--profile` config layers?
|
|
21
|
+
- Should source repositories add native Claude Code and OpenCode adapters instead of relying on generated defaults?
|
|
@@ -7,7 +7,8 @@ These notes capture what `awesome-agents` is and why it exists.
|
|
|
7
7
|
- The package is named `awesome-agents`.
|
|
8
8
|
- It should be installable with `npx`.
|
|
9
9
|
- Its command structure should mirror `npx skills`, but for agent profiles.
|
|
10
|
-
- It should install profiles from
|
|
10
|
+
- It should install profiles from any explicit source repository that follows
|
|
11
|
+
the `agents/<slug>/agent.yaml` source layout.
|
|
11
12
|
- Initial harness targets are Codex, Claude Code, and OpenCode.
|
|
12
13
|
- The package should be published after the scaffold works.
|
|
13
14
|
|
|
@@ -20,18 +21,27 @@ Product distinction:
|
|
|
20
21
|
- `npx skills` installs reusable task workflows and instructions.
|
|
21
22
|
- `awesome-agents` installs reusable operational agent identities.
|
|
22
23
|
- A profile can define prompt, model preference, tool boundaries, notes, coordination style, and harness-specific configuration.
|
|
24
|
+
- Installed profiles should preserve explicit self-identity. A running
|
|
25
|
+
profile should know its installed slug and role.
|
|
23
26
|
|
|
24
27
|
The CLI should not pretend profiles are skills. It can mirror `npx skills` command shape where that helps user memory, but the artifact remains an agent profile.
|
|
25
28
|
|
|
26
|
-
##
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
29
|
+
## Source Independence
|
|
30
|
+
|
|
31
|
+
`awesome-agents` is independent of any particular profile repository. It should
|
|
32
|
+
not know about or default to one source. Users must name the local path, GitHub
|
|
33
|
+
shorthand, or Git URL they want to install from.
|
|
34
|
+
|
|
35
|
+
Product correction:
|
|
36
|
+
|
|
37
|
+
- Do not intertwine source-repository concepts into the `awesome-agents`
|
|
38
|
+
codebase.
|
|
39
|
+
- Source repositories provide profile artifacts; `awesome-agents` understands
|
|
40
|
+
the artifact shape and target harnesses.
|
|
41
|
+
- Examples and tests should use neutral source names unless they are testing
|
|
42
|
+
source resolution itself.
|
|
43
|
+
- Source repositories should use one agent definition format per agent directory:
|
|
44
|
+
`agents/<slug>/agent.yaml` plus colocated support material.
|
|
45
|
+
- `awesome-agents` installs that local support material into
|
|
46
|
+
`~/.agents/homes/<slug>/` and transcribes the agent definition to the target
|
|
47
|
+
harness.
|
|
@@ -4,54 +4,59 @@ These notes capture how profile source repositories are organized.
|
|
|
4
4
|
|
|
5
5
|
## Canonical Layout
|
|
6
6
|
|
|
7
|
-
The
|
|
7
|
+
The source format is intentionally repo-neutral:
|
|
8
8
|
|
|
9
9
|
```text
|
|
10
10
|
agents/
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
<profile>.md
|
|
11
|
+
<profile>/
|
|
12
|
+
agent.yaml
|
|
13
|
+
scripts/
|
|
14
|
+
references/
|
|
16
15
|
```
|
|
17
16
|
|
|
18
17
|
Canonical profiles live at:
|
|
19
18
|
|
|
20
19
|
```text
|
|
21
|
-
agents
|
|
20
|
+
agents/<profile>/{agent.yaml,agent.yml,agent.agf.yaml,agent.agf.yml,agent.md}
|
|
22
21
|
```
|
|
23
22
|
|
|
24
|
-
|
|
23
|
+
Optional agent-owned support material lives at:
|
|
25
24
|
|
|
26
25
|
```text
|
|
27
|
-
agents
|
|
26
|
+
agents/<profile>/scripts/*
|
|
27
|
+
agents/<profile>/references/*
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
## Profile Files
|
|
31
31
|
|
|
32
|
-
|
|
32
|
+
YAML profile files are preferred. The loader should support a pragmatic subset
|
|
33
|
+
of emerging YAML agent-definition shapes:
|
|
33
34
|
|
|
34
|
-
|
|
35
|
+
- simple profile YAML with `id`, `name`, `description`, `model`, and
|
|
36
|
+
`instructions`;
|
|
37
|
+
- Agent Format-style YAML with `metadata` and `execution_policy.config`;
|
|
38
|
+
- Markdown files with YAML frontmatter for compatibility with `.agent.md`
|
|
39
|
+
ecosystems.
|
|
35
40
|
|
|
36
|
-
|
|
41
|
+
The CLI should preserve canonical profile content and generate harness-specific install files. A profile is reusable product content, not local machine setup.
|
|
37
42
|
|
|
38
|
-
-
|
|
39
|
-
|
|
40
|
-
|
|
43
|
+
Agent-owned scripts and references should be installed into
|
|
44
|
+
`~/.agents/homes/<profile>/scripts` and
|
|
45
|
+
`~/.agents/homes/<profile>/references`.
|
|
41
46
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
loadable skills.
|
|
47
|
+
Profile source files are intentionally under `agents/`, not `skills/`, because
|
|
48
|
+
the source format models agent profiles separately from loadable skills.
|
|
45
49
|
|
|
46
50
|
## Source Resolution
|
|
47
51
|
|
|
48
52
|
The CLI should support:
|
|
49
53
|
|
|
50
|
-
- Local paths such as `/
|
|
51
|
-
- GitHub shorthand such as `
|
|
54
|
+
- Local paths such as `/path/to/agent-profiles`.
|
|
55
|
+
- GitHub shorthand such as `owner/repo`.
|
|
52
56
|
- GitHub URLs.
|
|
53
57
|
|
|
54
|
-
The
|
|
58
|
+
The package must not hard-code any source repository. `add`, `install`, and
|
|
59
|
+
`use` require an explicit source from the caller.
|
|
55
60
|
|
|
56
61
|
## Registry Or Search
|
|
57
62
|
|