{"_id":"@accruedev/cli","name":"@accruedev/cli","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@accruedev/cli","version":"0.1.0","type":"module","description":"AccrueDev CLI: download skills, agents, and course content","license":"MIT","author":{"name":"AccrueDev"},"homepage":"https://accruedev.com","repository":{"type":"git","url":"git+https://github.com/glivera/accrue-dev.git"},"bugs":{"url":"https://github.com/glivera/accrue-dev/issues"},"keywords":["claude","claude-code","ai","agents","skills","cli","developer-tools"],"bin":{"accruedev":"bin/accruedev.mjs"},"engines":{"node":">=20"},"scripts":{"dev":"tsx src/index.ts","build":"tsup","typecheck":"tsc --noEmit"},"dependencies":{"citty":"^0.2.2","consola":"^3.4.0","ofetch":"^1.4.0"},"devDependencies":{"tsx":"^4.19.0","tsup":"^8.4.0","typescript":"^5.7.0","@accruedev/shared":"workspace:*"},"publishConfig":{"access":"public"},"_id":"@accruedev/cli@0.1.0","gitHead":"c80606bfec4b56dab031321bf88e7d8298992ada","_nodeVersion":"22.18.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-A6HrCRbbsqkuLtckEdg8Jh8ljXdl+KiU7MJPtD3OWj/eYuY0UgeuZA6+tNlRmo1v5pFB8kZfiix1jarKigHf8w==","shasum":"ceee50b8f73f860c920cc260f75ab92498404552","tarball":"https://registry.npmjs.org/@accruedev/cli/-/cli-0.1.0.tgz","fileCount":6,"unpackedSize":15727,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIDDqZY8+46Iakv25LXq+Af0O+/qk4fH+OIT+Uap+2gEbAiAW+xLFefv56ftLO1uRS3RSR7LoYxmN79KQGYztIT1ycw=="}]},"_npmUser":{"name":"glivera","email":"glivera28@gmail.com"},"directories":{},"maintainers":[{"name":"glivera","email":"glivera28@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/cli_0.1.0_1785888721685_0.24305155055685157"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-05T00:12:01.510Z","0.1.0":"2026-08-05T00:12:01.843Z","modified":"2026-08-05T00:12:02.101Z"},"maintainers":[{"name":"glivera","email":"glivera28@gmail.com"}],"description":"AccrueDev CLI: download skills, agents, and course content","homepage":"https://accruedev.com","keywords":["claude","claude-code","ai","agents","skills","cli","developer-tools"],"repository":{"type":"git","url":"git+https://github.com/glivera/accrue-dev.git"},"author":{"name":"AccrueDev"},"bugs":{"url":"https://github.com/glivera/accrue-dev/issues"},"license":"MIT","readme":"# @accruedev/cli\n\nCLI tool for the AccrueDev platform. Authenticates with your API key and\ndownloads content (skills, agents, commands, course modules) into your\nlocal Claude Code setup.\n\n## Install\n\n```\nnpm install -g @accruedev/cli\n```\n\n## Getting a key\n\nAPI keys are issued by email after purchase at\n[accruedev.com](https://accruedev.com). Content access (which skills,\nagents, and course modules you can pull) depends on your purchased plan.\n\n## Commands\n\n- `accruedev login <api-key>` — Authenticate with your API key (`ask_...`), passed as an argument\n- `accruedev pull` — Download new/updated content to `~/.claude/` and `~/accruedev/`\n- `accruedev status` — Show current plan, installed versions, available updates\n- `accruedev logout` — Remove stored credentials\n\n## Config\n\nStored at `~/.accruedev/config.json`:\n```json\n{\n  \"api_key\": \"ask_...\",\n  \"api_url\": \"https://api.accruedev.com\"\n}\n```\n\n## Pull Logic\n\n1. GET /manifest (with auth header)\n2. Server returns manifest filtered by user's plan tier\n3. CLI diffs against local installed versions\n4. Downloads only changed/new files\n5. Writes to:\n   - Skills: `~/.claude/skills/<name>/SKILL.md`\n   - Agents: `~/.claude/agents/`\n   - Commands: `~/.claude/commands/`\n   - Course modules: `~/accruedev/course/`\n   - Templates: `~/accruedev/templates/`\n6. Updates local installed.json\n\n## Tech\n\n- Node.js, TypeScript\n- CLI framework: citty (lightweight, modern)\n- HTTP: ofetch (by unjs, pairs with citty)\n- Published to npm as @accruedev/cli\n","readmeFilename":"README.md","_rev":"1-60f13bbfe0c423f3b31d4344e554c9e7"}