@rbbtsn0w/adg 0.1.0-alpha.1
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/LICENSE +21 -0
- package/README.md +308 -0
- package/bin/adg.ts +758 -0
- package/docs/agents-spec.md +132 -0
- package/docs/authoring.md +352 -0
- package/package.json +50 -0
- package/schemas/adg-plugin.schema.json +77 -0
- package/schemas/marketplace.schema.json +86 -0
- package/schemas/plugin-lock.schema.json +90 -0
- package/src/adapters/anthropic.ts +54 -0
- package/src/adapters/index.ts +24 -0
- package/src/adapters/openai.ts +37 -0
- package/src/adapters/reverse.ts +60 -0
- package/src/agents/claude.ts +124 -0
- package/src/agents/codex.ts +67 -0
- package/src/agents/index.ts +12 -0
- package/src/agents/registry.ts +30 -0
- package/src/agents/types.ts +47 -0
- package/src/commands/adapt.ts +36 -0
- package/src/commands/import.ts +69 -0
- package/src/commands/init.ts +146 -0
- package/src/commands/install.ts +411 -0
- package/src/commands/link.ts +61 -0
- package/src/commands/list.ts +28 -0
- package/src/commands/marketplace.ts +198 -0
- package/src/commands/migrate.ts +84 -0
- package/src/commands/multiselect-skills.ts +137 -0
- package/src/commands/remove.ts +136 -0
- package/src/commands/select-agents.ts +45 -0
- package/src/commands/select-components.ts +66 -0
- package/src/commands/select-plugins.ts +28 -0
- package/src/commands/select-scope.ts +21 -0
- package/src/commands/update.ts +85 -0
- package/src/commands/validate.ts +57 -0
- package/src/components.ts +90 -0
- package/src/deps.ts +64 -0
- package/src/fsutil.ts +38 -0
- package/src/hash.ts +61 -0
- package/src/lock.ts +57 -0
- package/src/manifest.ts +113 -0
- package/src/marketplace.ts +41 -0
- package/src/package.ts +74 -0
- package/src/paths.ts +129 -0
- package/src/semver.ts +67 -0
- package/src/skills.ts +88 -0
- package/src/sources.ts +159 -0
- package/src/types.ts +140 -0
- package/vendor/skills/LICENSE +29 -0
- package/vendor/skills/PROVENANCE.md +60 -0
- package/vendor/skills/ThirdPartyNoticeText.txt +117 -0
- package/vendor/skills/package.json +143 -0
- package/vendor/skills/src/add.ts +1999 -0
- package/vendor/skills/src/agents.ts +755 -0
- package/vendor/skills/src/blob.ts +567 -0
- package/vendor/skills/src/cli.ts +387 -0
- package/vendor/skills/src/constants.ts +3 -0
- package/vendor/skills/src/detect-agent.ts +62 -0
- package/vendor/skills/src/find.ts +357 -0
- package/vendor/skills/src/frontmatter.ts +16 -0
- package/vendor/skills/src/git-tree.ts +36 -0
- package/vendor/skills/src/git.ts +277 -0
- package/vendor/skills/src/install.ts +91 -0
- package/vendor/skills/src/installer.ts +1097 -0
- package/vendor/skills/src/list.ts +231 -0
- package/vendor/skills/src/local-lock.ts +182 -0
- package/vendor/skills/src/plugin-manifest.ts +183 -0
- package/vendor/skills/src/prompts/search-multiselect.ts +387 -0
- package/vendor/skills/src/providers/index.ts +14 -0
- package/vendor/skills/src/providers/registry.ts +51 -0
- package/vendor/skills/src/providers/types.ts +97 -0
- package/vendor/skills/src/providers/wellknown.ts +804 -0
- package/vendor/skills/src/remove.ts +323 -0
- package/vendor/skills/src/sanitize.ts +65 -0
- package/vendor/skills/src/self-cli.ts +20 -0
- package/vendor/skills/src/skill-lock.ts +329 -0
- package/vendor/skills/src/skills.ts +316 -0
- package/vendor/skills/src/source-parser.ts +438 -0
- package/vendor/skills/src/sync.ts +478 -0
- package/vendor/skills/src/telemetry.ts +186 -0
- package/vendor/skills/src/test-utils.ts +73 -0
- package/vendor/skills/src/types.ts +128 -0
- package/vendor/skills/src/update-source.ts +90 -0
- package/vendor/skills/src/update.ts +749 -0
- package/vendor/skills/src/use.ts +675 -0
package/src/types.ts
ADDED
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ADG type definitions mirroring the JSON Schemas under ../schemas.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
export const ADG_SCHEMA_VERSION = "adg.plugin/v1";
|
|
6
|
+
export const LOCK_VERSION = 2;
|
|
7
|
+
|
|
8
|
+
export interface AdgAuthor {
|
|
9
|
+
name: string;
|
|
10
|
+
url?: string;
|
|
11
|
+
email?: string;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export interface AdgInterface {
|
|
15
|
+
displayName?: string;
|
|
16
|
+
icon?: string;
|
|
17
|
+
[key: string]: unknown;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export interface AdgDependency {
|
|
21
|
+
name: string;
|
|
22
|
+
version: string;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export interface AdgManifest {
|
|
26
|
+
schemaVersion: typeof ADG_SCHEMA_VERSION;
|
|
27
|
+
name: string;
|
|
28
|
+
version: string;
|
|
29
|
+
description: string;
|
|
30
|
+
author?: AdgAuthor;
|
|
31
|
+
license?: string;
|
|
32
|
+
category?: string;
|
|
33
|
+
interface?: AdgInterface;
|
|
34
|
+
skills?: string | string[];
|
|
35
|
+
agents?: string;
|
|
36
|
+
commands?: string;
|
|
37
|
+
apps?: string;
|
|
38
|
+
hooks?: string;
|
|
39
|
+
mcp?: string;
|
|
40
|
+
dependencies?: AdgDependency[];
|
|
41
|
+
strict?: boolean;
|
|
42
|
+
homepage?: string;
|
|
43
|
+
changelog?: string;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Discriminated source union shared by marketplace entries (where to find a
|
|
48
|
+
* plugin) and lock entries (where a plugin came from). `local.path` is relative
|
|
49
|
+
* to the file that holds it; `github`/`git` carry an optional sub-path for
|
|
50
|
+
* monorepos.
|
|
51
|
+
*/
|
|
52
|
+
export type PluginSource =
|
|
53
|
+
| { type: "local"; path: string }
|
|
54
|
+
| { type: "github"; repo: string; ref?: string; path?: string }
|
|
55
|
+
| { type: "git"; url: string; ref?: string; path?: string };
|
|
56
|
+
|
|
57
|
+
export type SourceType = PluginSource["type"];
|
|
58
|
+
|
|
59
|
+
/** Self-describing content digest, e.g. "sha256-<hex>". */
|
|
60
|
+
export type Integrity = string;
|
|
61
|
+
|
|
62
|
+
/** The component categories a plugin can expose. */
|
|
63
|
+
export const COMPONENT_TYPES = ["skills", "agents", "commands", "mcp", "hooks", "apps"] as const;
|
|
64
|
+
export type ComponentType = (typeof COMPONENT_TYPES)[number];
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* A partial-install selection. It is independent of packaging: the copied/hashed
|
|
68
|
+
* file set is the manifest's declared payload (see `packageFilter`), while this
|
|
69
|
+
* selection only narrows what the generated runtime manifests *expose*. Absent
|
|
70
|
+
* selection = expose everything.
|
|
71
|
+
*/
|
|
72
|
+
export interface PluginSelection {
|
|
73
|
+
/** Component categories to expose. */
|
|
74
|
+
components: ComponentType[];
|
|
75
|
+
/** When "skills" is selected, expose only these skill names (else all). */
|
|
76
|
+
skills?: string[];
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export interface LockEntry {
|
|
80
|
+
/** Upstream provenance the plugin was installed from. */
|
|
81
|
+
origin: PluginSource;
|
|
82
|
+
version: string;
|
|
83
|
+
/** Content digest of the installed directory (excluding generated adapters). */
|
|
84
|
+
folderHash: Integrity;
|
|
85
|
+
installedAt: string;
|
|
86
|
+
updatedAt: string;
|
|
87
|
+
dependencies?: Record<string, string>;
|
|
88
|
+
/** Partial-install selection; absent means the whole plugin is exposed. */
|
|
89
|
+
selection?: PluginSelection;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
export interface PluginLock {
|
|
93
|
+
version: number;
|
|
94
|
+
plugins: Record<string, LockEntry>;
|
|
95
|
+
lastSelected?: string[];
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* Marketplace entry source, in the object form ADG generates for the runtime
|
|
100
|
+
* export (Codex / vercel-labs `plugins` write `{ source: "local", path }` into
|
|
101
|
+
* ~/.agents/plugins/marketplace.json). marketplace.json is a pure export for
|
|
102
|
+
* runtime consumption; ADG's richer provenance/integrity lives in the lock.
|
|
103
|
+
*
|
|
104
|
+
* Hand-authored source catalogs (.agents/.marketplace.json) may use the simpler
|
|
105
|
+
* string shorthand `"./asc"` (local path) or a remote tagged-union object — see
|
|
106
|
+
* marketplace.schema.json. ADG's own code only ever produces/consumes this
|
|
107
|
+
* object form, so callers handle it directly.
|
|
108
|
+
*/
|
|
109
|
+
export interface MarketplaceSource {
|
|
110
|
+
source: string;
|
|
111
|
+
path: string;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
export interface MarketplacePlugin {
|
|
115
|
+
name: string;
|
|
116
|
+
source: MarketplaceSource;
|
|
117
|
+
policy?: {
|
|
118
|
+
installation?: "AVAILABLE" | "BLOCKED";
|
|
119
|
+
authentication?: "ON_INSTALL" | "NONE";
|
|
120
|
+
};
|
|
121
|
+
category?: string;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
export interface Marketplace {
|
|
125
|
+
name: string;
|
|
126
|
+
description?: string;
|
|
127
|
+
owner?: { name?: string; email?: string; url?: string };
|
|
128
|
+
/** @deprecated prefer top-level `description`. */
|
|
129
|
+
interface?: { displayName?: string };
|
|
130
|
+
plugins: MarketplacePlugin[];
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
/** Structural equality for provenance/source comparison (collision checks). */
|
|
134
|
+
export function sameSource(a: PluginSource, b: PluginSource): boolean {
|
|
135
|
+
if (a.type !== b.type) return false;
|
|
136
|
+
if (a.type === "local" && b.type === "local") return a.path === b.path;
|
|
137
|
+
if (a.type === "github" && b.type === "github") return a.repo === b.repo && a.path === b.path;
|
|
138
|
+
if (a.type === "git" && b.type === "git") return a.url === b.url && a.path === b.path;
|
|
139
|
+
return false;
|
|
140
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
This directory vendors the `skills` CLI (https://github.com/vercel-labs/skills),
|
|
4
|
+
which is distributed under the MIT License (declared in the upstream README and
|
|
5
|
+
in the npm package's package.json `"license": "MIT"`). The upstream repository
|
|
6
|
+
did not ship a standalone LICENSE file or an explicit copyright line; the
|
|
7
|
+
copyright is held by the upstream authors (Vercel Labs and the `skills`
|
|
8
|
+
contributors). The standard MIT terms below are reproduced here to satisfy the
|
|
9
|
+
license's notice requirement for this redistribution.
|
|
10
|
+
|
|
11
|
+
Copyright (c) Vercel Labs and the `skills` contributors
|
|
12
|
+
|
|
13
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
14
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
15
|
+
in the Software without restriction, including without limitation the rights
|
|
16
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
17
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
18
|
+
furnished to do so, subject to the following conditions:
|
|
19
|
+
|
|
20
|
+
The above copyright notice and this permission notice shall be included in all
|
|
21
|
+
copies or substantial portions of the Software.
|
|
22
|
+
|
|
23
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
24
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
25
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
26
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
27
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
28
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
29
|
+
SOFTWARE.
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
# Vendored: skills CLI
|
|
2
|
+
|
|
3
|
+
This directory is a **fork (verbatim vendoring) of the `skills` CLI source**,
|
|
4
|
+
wrapped by `adg skills`.
|
|
5
|
+
|
|
6
|
+
| Field | Value |
|
|
7
|
+
|-------|-------|
|
|
8
|
+
| Upstream repo | https://github.com/vercel-labs/skills |
|
|
9
|
+
| npm package | `skills` (v1.5.11) |
|
|
10
|
+
| Vendored commit | `be0dd25b4a8665894a56f45ef582cc02ca802c39` |
|
|
11
|
+
| Vendored on | 2026-06-11 |
|
|
12
|
+
| What was copied | `src/` (excluding `*.test.ts`) and `ThirdPartyNoticeText.txt` |
|
|
13
|
+
|
|
14
|
+
## License — MIT
|
|
15
|
+
|
|
16
|
+
The upstream `skills` is **MIT-licensed**, declared in two places:
|
|
17
|
+
|
|
18
|
+
- the repository `README.md` (`## License` → `MIT`), and
|
|
19
|
+
- the npm package `package.json` (`"license": "MIT"`, retained here).
|
|
20
|
+
|
|
21
|
+
GitHub's API reports `license: null` only because the upstream repo ships no
|
|
22
|
+
*standalone LICENSE file* (the API's detector keys on a LICENSE file, not a
|
|
23
|
+
README section). This is a best-practice gap, not a missing grant — MIT use,
|
|
24
|
+
modification and redistribution are permitted provided the copyright and
|
|
25
|
+
permission notice are retained.
|
|
26
|
+
|
|
27
|
+
To satisfy MIT's notice requirement for this redistribution, this directory
|
|
28
|
+
includes a reconstructed [`LICENSE`](LICENSE) (standard MIT text + attribution
|
|
29
|
+
to the upstream authors) and the upstream `ThirdPartyNoticeText.txt`. The
|
|
30
|
+
upstream did not provide an explicit copyright line; attribution is to
|
|
31
|
+
Vercel Labs and the `skills` contributors.
|
|
32
|
+
|
|
33
|
+
Nice-to-have (not blocking): ask upstream to add a standalone `LICENSE` file so
|
|
34
|
+
the grant is unambiguous and machine-detectable.
|
|
35
|
+
|
|
36
|
+
Do not edit files under `src/` casually: keeping them close to upstream eases a
|
|
37
|
+
future re-sync or clean-room replacement. ADG-side glue lives outside this
|
|
38
|
+
directory.
|
|
39
|
+
|
|
40
|
+
## Local patches (re-apply after any re-sync)
|
|
41
|
+
|
|
42
|
+
These intentional deviations from upstream must be carried forward when
|
|
43
|
+
re-vendoring. Each is marked inline with an `ADG patch:` comment.
|
|
44
|
+
|
|
45
|
+
| File | Change | Why |
|
|
46
|
+
|------|--------|-----|
|
|
47
|
+
| `src/skill-lock.ts` → `getSkillLockPath()` | XDG global lock path `$XDG_STATE_HOME/skills/.skill-lock.json` → `$XDG_STATE_HOME/.agents/.skill-lock.json` | Keep the skills and plugins domains under one shared `.agents/` home in XDG mode, matching ADG's `globalPluginsDir()`. Upstream's `skills/` subpath split the root and scattered global state. See docs/agents-spec.md §1. |
|
|
48
|
+
| `src/agents.ts` → `universal` agent `globalSkillsDir` (+ new `agentsHome` const) | `$XDG_CONFIG_HOME/agents/skills` → `<$XDG_STATE_HOME or ~>/.agents/skills` | Same root principle. Upstream's universal *global* dir used XDG-**config**, splitting it from its own *project* dir (`.agents/skills`) and from the lock. Now all share `$XDG_STATE_HOME/.agents` (or `~/.agents`). See docs/agents-spec.md §1. |
|
|
49
|
+
| `src/blob.ts` → `fetchRepoTree` / `fetchTreeBranch` (+ `authMayHelp` on `BranchFetchResult`) | Retry authenticated on 401/403/404, not only on a rate-limit 403 | **Private-repo bug**: GitHub returns 404 to anonymous tree requests for private repos. Upstream only fell back to a token on rate limit, so private skills sources never used the token and always "failed to fetch tree". |
|
|
50
|
+
| `src/skill-lock.ts` → `getGitHubToken` warning text | "GitHub rate limit reached" → "GitHub authentication needed" | The resolver is now also used to reach private repos, not just to recover from a rate limit. |
|
|
51
|
+
| `src/update.ts` → `updateGlobalSkills` | Track `failedSources`; stop printing "All global skills are up to date" when a source could not be checked | The swallowed private-repo failure used to be masked by a false "up to date". Now surfaced, with a hint to set `GITHUB_TOKEN` / `gh auth login`, and counted in `failCount`. |
|
|
52
|
+
| `src/update.ts` → `SELF_CLI_ENTRY` (both global + project update paths) | Re-invoke `<src>/cli.ts` instead of the built `../bin/cli.mjs` | We vendor `src/` only — the built `bin/cli.mjs` upstream re-invokes for each update does not exist here, so **every** update failed with "CLI entrypoint not found". Our entry is the TS source run via Node type-stripping, same as `adg skills`. |
|
|
53
|
+
| `src/git.ts` → `createGitClient` | Add `unsafe: { allowUnsafeFilter: true }` to `simpleGit(...)` | simple-git ≥3.36 blocks `filter.*.smudge/clean` configs (RCE vector) and fails **every** clone with "Configuring filter.smudge is not permitted without enabling allowUnsafeFilter". The configs here set the LFS filter to EMPTY (disabling it), so opting in is safe and matches their intent. |
|
|
54
|
+
| `src/git.ts` → `import simpleGit from 'simple-git'` | Default → named import `import { simpleGit } from 'simple-git'` | The default import is not callable under ADG's strict root tsconfig (NodeNext + verbatimModuleSyntax, no esModuleInterop); the named export is. Needed for `git.ts` to typecheck when a test imports it (e.g. via `use.ts`). |
|
|
55
|
+
| `src/git.ts` → `createGitClient` env | Pass env via `.env({...})` instead of as a `simpleGit(...)` constructor option | **Latent runtime bug**: simple-git's factory only reads `baseDir`/`maxConcurrentProcesses`/`config`/`trimmed`/plugins from the options object and silently drops `env`, so `GIT_TERMINAL_PROMPT`/`GIT_LFS_SKIP_SMUDGE`/`GIT_SSH_COMMAND` never reached the spawned git (it inherited the full parent env). `.env(object)` is the documented API and sets the executor env actually used at spawn. |
|
|
56
|
+
| `src/skills.ts` → `parseSkillMd` | Narrow `data.metadata` (frontmatter `unknown`) to `Record<string, unknown> \| undefined` before reading `.internal` / returning it | Behavior-preserving type fix so `skills.ts` typechecks under ADG's strict root tsconfig when reached via `use.ts`/tests. |
|
|
57
|
+
| `src/update.ts` → both `spawnSync` self-CLI re-invokes (+ new `src/self-cli.ts`) | Forward `process.execArgv` (`[...process.execArgv, cliEntry, ...]`) via a shared `selfCliArgv()` helper | The re-invoked `cli.ts` child must inherit Node flags (e.g. `--experimental-strip-types`) to run TypeScript directly on Node 22.6–23.5, else it throws a `SyntaxError`. `selfCliArgv` lives in the dependency-free `self-cli.ts` so a regression test can import it without pulling `update.ts` → `remove.ts` → `detect-agent.ts` (same standalone rationale as `git-tree.ts`). |
|
|
58
|
+
| `package.json` → `@vercel/detect-agent` dependency (not a vendored-source change) | `^0.1.0` → `^1.2.3` | `src/detect-agent.ts` (upstream, unpatched) imports `AgentResult` and expects `determineAgent(): Promise<AgentResult>` (object API). The stale `0.1.0` pin only exported `determineAgent(): Promise<string \| false>` and no `AgentResult`, which broke typecheck and left `cachedResult.isAgent` always `undefined` at runtime — agent auto-detection (non-interactive mode in `add`/`sync`/`remove`/`find`/`cli`) silently never fired. The `1.x` line restores the API the fork targets, so `detect-agent.ts` needs **no** local patch. Keep this dependency on `1.x` across re-vendoring. |
|
|
59
|
+
| `src/git-tree.ts` (**new ADG file**) + `src/add.ts` clone-fallback branch | github source that falls back to a `git clone` now records the git **tree SHA** (`git rev-parse HEAD:<folder>`), not a sha256 content hash | Install and update must use ONE hash scheme per source. Update-check always uses the git tree SHA; the old clone fallback stored a sha256 content hash, so those skills were re-flagged on **every** update (a collection repo appeared to "fully update" each run). `git-tree.ts` is standalone (uses `child_process`, no simple-git) so it typechecks under ADG's strict tsconfig when a test imports it. |
|
|
60
|
+
| `src/update.ts` → `updateGlobalSkills` self-heal | A github entry whose stored hash isn't a 40-hex tree SHA (legacy clone-fallback) is normalized to the current tree SHA and NOT flagged; lock rewritten once | Heals locks written before the fix above without a version bump / lock wipe, and stops the perpetual false "update". |
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
/*!----------------- Skills CLI ThirdPartyNotices -------------------------------------------------------
|
|
2
|
+
|
|
3
|
+
The Skills CLI incorporates third party material from the projects listed below.
|
|
4
|
+
The original copyright notice and the license under which this material was received
|
|
5
|
+
are set forth below. These licenses and notices are provided for informational purposes only.
|
|
6
|
+
|
|
7
|
+
---------------------------------------------
|
|
8
|
+
Third Party Code Components
|
|
9
|
+
--------------------------------------------
|
|
10
|
+
|
|
11
|
+
================================================================================
|
|
12
|
+
Package: @clack/prompts@0.11.0
|
|
13
|
+
License: MIT
|
|
14
|
+
Repository: https://github.com/bombshell-dev/clack
|
|
15
|
+
--------------------------------------------------------------------------------
|
|
16
|
+
|
|
17
|
+
MIT License
|
|
18
|
+
|
|
19
|
+
Copyright (c) Nate Moore
|
|
20
|
+
|
|
21
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
22
|
+
|
|
23
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
24
|
+
|
|
25
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
================================================================================
|
|
29
|
+
Package: picocolors@1.1.1
|
|
30
|
+
License: ISC
|
|
31
|
+
Repository: https://github.com/alexeyraspopov/picocolors
|
|
32
|
+
--------------------------------------------------------------------------------
|
|
33
|
+
|
|
34
|
+
ISC License
|
|
35
|
+
|
|
36
|
+
Copyright (c) 2021-2024 Oleksii Raspopov, Kostiantyn Denysov, Anton Verinov
|
|
37
|
+
|
|
38
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
39
|
+
purpose with or without fee is hereby granted, provided that the above
|
|
40
|
+
copyright notice and this permission notice appear in all copies.
|
|
41
|
+
|
|
42
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
43
|
+
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
44
|
+
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
|
45
|
+
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
46
|
+
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
47
|
+
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
|
48
|
+
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
================================================================================
|
|
52
|
+
Package: simple-git@3.30.0
|
|
53
|
+
License: MIT
|
|
54
|
+
Repository: https://github.com/steveukx/git-js
|
|
55
|
+
--------------------------------------------------------------------------------
|
|
56
|
+
|
|
57
|
+
MIT License
|
|
58
|
+
|
|
59
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
60
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
61
|
+
in the Software without restriction, including without limitation the rights
|
|
62
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
63
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
64
|
+
furnished to do so, subject to the following conditions:
|
|
65
|
+
|
|
66
|
+
The above copyright notice and this permission notice shall be included in all
|
|
67
|
+
copies or substantial portions of the Software.
|
|
68
|
+
|
|
69
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
70
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
71
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
72
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
73
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
74
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
75
|
+
SOFTWARE.
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
================================================================================
|
|
79
|
+
Package: xdg-basedir@5.1.0
|
|
80
|
+
License: MIT
|
|
81
|
+
Repository: https://github.com/sindresorhus/xdg-basedir
|
|
82
|
+
--------------------------------------------------------------------------------
|
|
83
|
+
|
|
84
|
+
MIT License
|
|
85
|
+
|
|
86
|
+
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
|
|
87
|
+
|
|
88
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
89
|
+
|
|
90
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
91
|
+
|
|
92
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
================================================================================
|
|
96
|
+
Package: yaml@2.8.3
|
|
97
|
+
License: ISC
|
|
98
|
+
Repository: https://github.com/eemeli/yaml
|
|
99
|
+
--------------------------------------------------------------------------------
|
|
100
|
+
|
|
101
|
+
Copyright Eemeli Aro <eemeli@gmail.com>
|
|
102
|
+
|
|
103
|
+
Permission to use, copy, modify, and/or distribute this software for any purpose
|
|
104
|
+
with or without fee is hereby granted, provided that the above copyright notice
|
|
105
|
+
and this permission notice appear in all copies.
|
|
106
|
+
|
|
107
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
108
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
|
109
|
+
FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
110
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
|
|
111
|
+
OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
|
|
112
|
+
TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
|
|
113
|
+
THIS SOFTWARE.
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
================================================================================
|
|
117
|
+
*/
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "skills",
|
|
3
|
+
"version": "1.5.11",
|
|
4
|
+
"description": "The open agent skills ecosystem",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"bin": {
|
|
7
|
+
"skills": "./bin/cli.mjs",
|
|
8
|
+
"add-skill": "./bin/cli.mjs"
|
|
9
|
+
},
|
|
10
|
+
"files": [
|
|
11
|
+
"dist",
|
|
12
|
+
"bin",
|
|
13
|
+
"README.md",
|
|
14
|
+
"ThirdPartyNoticeText.txt"
|
|
15
|
+
],
|
|
16
|
+
"scripts": {
|
|
17
|
+
"build": "node scripts/generate-licenses.ts && obuild",
|
|
18
|
+
"generate-licenses": "node scripts/generate-licenses.ts",
|
|
19
|
+
"dev": "node src/cli.ts",
|
|
20
|
+
"exec:test": "node scripts/execute-tests.ts",
|
|
21
|
+
"prepublishOnly": "npm run build",
|
|
22
|
+
"format": "prettier --write \"src/**/*.ts\" \"scripts/**/*.ts\"",
|
|
23
|
+
"format:check": "prettier --check \"src/**/*.ts\" \"scripts/**/*.ts\"",
|
|
24
|
+
"prepare": "husky",
|
|
25
|
+
"test": "vitest",
|
|
26
|
+
"type-check": "tsc --noEmit",
|
|
27
|
+
"publish:snapshot": "npm version prerelease --preid=snapshot --no-git-tag-version && npm publish --tag snapshot"
|
|
28
|
+
},
|
|
29
|
+
"lint-staged": {
|
|
30
|
+
"src/**/*.ts": "prettier --write",
|
|
31
|
+
"scripts/**/*.ts": "prettier --write",
|
|
32
|
+
"tests/**/*.ts": "prettier --write"
|
|
33
|
+
},
|
|
34
|
+
"keywords": [
|
|
35
|
+
"cli",
|
|
36
|
+
"agent-skills",
|
|
37
|
+
"skills",
|
|
38
|
+
"ai-agents",
|
|
39
|
+
"aider-desk",
|
|
40
|
+
"amp",
|
|
41
|
+
"antigravity",
|
|
42
|
+
"antigravity-cli",
|
|
43
|
+
"astrbot",
|
|
44
|
+
"autohand-code",
|
|
45
|
+
"augment",
|
|
46
|
+
"bob",
|
|
47
|
+
"claude-code",
|
|
48
|
+
"openclaw",
|
|
49
|
+
"cline",
|
|
50
|
+
"codearts-agent",
|
|
51
|
+
"codebuddy",
|
|
52
|
+
"codemaker",
|
|
53
|
+
"codestudio",
|
|
54
|
+
"codex",
|
|
55
|
+
"command-code",
|
|
56
|
+
"continue",
|
|
57
|
+
"cortex",
|
|
58
|
+
"crush",
|
|
59
|
+
"cursor",
|
|
60
|
+
"deepagents",
|
|
61
|
+
"devin",
|
|
62
|
+
"dexto",
|
|
63
|
+
"droid",
|
|
64
|
+
"firebender",
|
|
65
|
+
"forgecode",
|
|
66
|
+
"gemini-cli",
|
|
67
|
+
"github-copilot",
|
|
68
|
+
"goose",
|
|
69
|
+
"hermes-agent",
|
|
70
|
+
"inference-sh",
|
|
71
|
+
"jazz",
|
|
72
|
+
"junie",
|
|
73
|
+
"iflow-cli",
|
|
74
|
+
"kilo",
|
|
75
|
+
"kimi-code-cli",
|
|
76
|
+
"kiro-cli",
|
|
77
|
+
"kode",
|
|
78
|
+
"lingma",
|
|
79
|
+
"loaf",
|
|
80
|
+
"mcpjam",
|
|
81
|
+
"mistral-vibe",
|
|
82
|
+
"moxby",
|
|
83
|
+
"mux",
|
|
84
|
+
"opencode",
|
|
85
|
+
"openhands",
|
|
86
|
+
"ona",
|
|
87
|
+
"pi",
|
|
88
|
+
"qoder",
|
|
89
|
+
"qoder-cn",
|
|
90
|
+
"qwen-code",
|
|
91
|
+
"replit",
|
|
92
|
+
"reasonix",
|
|
93
|
+
"rovodev",
|
|
94
|
+
"roo",
|
|
95
|
+
"tabnine-cli",
|
|
96
|
+
"terramind",
|
|
97
|
+
"tinycloud",
|
|
98
|
+
"trae",
|
|
99
|
+
"trae-cn",
|
|
100
|
+
"warp",
|
|
101
|
+
"windsurf",
|
|
102
|
+
"zed",
|
|
103
|
+
"zencoder",
|
|
104
|
+
"zenflow",
|
|
105
|
+
"neovate",
|
|
106
|
+
"pochi",
|
|
107
|
+
"promptscript",
|
|
108
|
+
"adal",
|
|
109
|
+
"universal"
|
|
110
|
+
],
|
|
111
|
+
"repository": {
|
|
112
|
+
"type": "git",
|
|
113
|
+
"url": "git+https://github.com/vercel-labs/skills.git"
|
|
114
|
+
},
|
|
115
|
+
"homepage": "https://github.com/vercel-labs/skills#readme",
|
|
116
|
+
"bugs": {
|
|
117
|
+
"url": "https://github.com/vercel-labs/skills/issues"
|
|
118
|
+
},
|
|
119
|
+
"author": "",
|
|
120
|
+
"license": "MIT",
|
|
121
|
+
"devDependencies": {
|
|
122
|
+
"@clack/prompts": "^0.11.0",
|
|
123
|
+
"@types/bun": "latest",
|
|
124
|
+
"@types/node": "^22.10.0",
|
|
125
|
+
"@vercel/detect-agent": "^1.2.1",
|
|
126
|
+
"husky": "^9.1.7",
|
|
127
|
+
"lint-staged": "^16.2.7",
|
|
128
|
+
"obuild": "^0.4.22",
|
|
129
|
+
"picocolors": "^1.1.1",
|
|
130
|
+
"prettier": "^3.8.1",
|
|
131
|
+
"simple-git": "^3.27.0",
|
|
132
|
+
"typescript": "^5.9.3",
|
|
133
|
+
"vitest": "^4.0.17",
|
|
134
|
+
"xdg-basedir": "^5.1.0"
|
|
135
|
+
},
|
|
136
|
+
"engines": {
|
|
137
|
+
"node": ">=18"
|
|
138
|
+
},
|
|
139
|
+
"packageManager": "pnpm@10.17.1",
|
|
140
|
+
"dependencies": {
|
|
141
|
+
"yaml": "^2.8.3"
|
|
142
|
+
}
|
|
143
|
+
}
|