{"id":52059640,"url":"https://github.com/giuseppeg/depskills","last_synced_at":"2026-08-02T21:30:51.575Z","repository":{"id":372349718,"uuid":"1162681123","full_name":"giuseppeg/depskills","owner":"giuseppeg","description":null,"archived":false,"fork":false,"pushed_at":"2026-07-20T16:16:22.000Z","size":15,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-07-20T18:14:12.445Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/giuseppeg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-02-20T15:06:53.000Z","updated_at":"2026-07-20T16:17:07.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/giuseppeg/depskills","commit_stats":null,"previous_names":["giuseppeg/depskills"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/giuseppeg/depskills","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giuseppeg%2Fdepskills","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giuseppeg%2Fdepskills/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giuseppeg%2Fdepskills/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giuseppeg%2Fdepskills/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/giuseppeg","download_url":"https://codeload.github.com/giuseppeg/depskills/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giuseppeg%2Fdepskills/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":36210045,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-07-20T02:08:10.276Z","status":"online","status_checked_at":"2026-08-02T02:00:06.915Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-08-02T21:30:51.167Z","updated_at":"2026-08-02T21:30:51.566Z","avatar_url":"https://github.com/giuseppeg.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# depskills\n\nScans installed dependencies for `SKILL.md` files and vendors them into `.agents/skills/` so AI assistants can discover them automatically.\n\nThe idea is that skills, like docs, should ship with the package that owns them and be vendored in your repo for portability and reviewability.\n\n## Usage\n\n```\nnpm install depskills --save-dev\n```\n\nAdd to your `package.json`:\n\n```json\n{\n  \"scripts\": {\n    \"postinstall\": \"depskills\"\n  }\n}\n```\n\nOn each install, depskills syncs full skill folders from your dependencies into `.agents/skills/`. Commit `.agents/skills/` to your repo — the diff is how you review changes.\n\n## Security\n\nSkill files are generated from content shipped inside your npm dependencies. A malicious package could include prompt injection attempts in its `SKILL.md` or accompanying files.\n\n**Before committing changes to `.agents/skills/`, review the diff carefully.** Check that skill names, descriptions, and file contents look legitimate and do not contain instructions disguised as skill metadata.\n\ndepskills prints a notice when new skills are added. It is silent otherwise — use `git diff` to review any content changes.\n\n## How it works\n\nPackages can ship a `SKILL.md` file inside a named subdirectory (e.g. `skills/my-skill/SKILL.md`) with a `name` and `description` in the frontmatter. When you run `depskills`, it walks your `dependencies` and `devDependencies`, finds every skill folder, and vendors the full folder into `.agents/skills/\u003cskill-name\u003e/`.\n\nThis follows the `.agents/skills/` convention for agent skill discovery. Vendoring the full folder keeps relative skill files working, makes the result portable across compatible AI assistants, and lets you review changes with git.\n\nRequirements:\n\n- `SKILL.md` must live in a subdirectory of the package, not at the package root\n- The directory name must match the `name` field in the frontmatter\n- If two dependencies ship a skill with the same directory name, the second one is skipped with a warning\n\n## Compatibility\n\ndepskills assumes a flat, hoisted `node_modules` layout as produced by npm and yarn. It does not currently support pnpm's non-hoisted layout or monorepo setups where dependencies are hoisted to a workspace root outside the project directory.\n\n## LICENSE\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgiuseppeg%2Fdepskills","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgiuseppeg%2Fdepskills","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgiuseppeg%2Fdepskills/lists"}