{"_id":"@amateur0x1/openclaw-agent","_rev":"6-a0906d2bf29d4afc72354aa622d60398","name":"@amateur0x1/openclaw-agent","dist-tags":{"latest":"1.4.1"},"versions":{"1.0.0":{"name":"@amateur0x1/openclaw-agent","version":"1.0.0","keywords":["openclaw","openclaw-agent","agent","git","version-control","sync","multi-agent","claude","ai"],"license":"MIT","_id":"@amateur0x1/openclaw-agent@1.0.0","maintainers":[{"name":"amateur0x1","email":"amateur11m11d@gmail.com"}],"homepage":"https://github.com/amateur0x1/openclaw-agent","bugs":{"url":"https://github.com/amateur0x1/openclaw-agent/issues"},"bin":{"openclaw-agent":"dist/index.js"},"dist":{"shasum":"642cb21ef9fb75119817ea1e358469ab25643bc9","tarball":"https://registry.npmjs.org/@amateur0x1/openclaw-agent/-/openclaw-agent-1.0.0.tgz","fileCount":75,"integrity":"sha512-v8Gb+ayml9vMsdtJjOYX0843GpYovCL2ffwBlUJTSokkHvcjy9dkLzUw+vA39b7lnOU/TrBdcrJthihJrAtUqw==","signatures":[{"sig":"MEYCIQD49sGr3Z4ER/q0u5zTMojugaTdQbRoRPe+AvPLE5P8PQIhALMKNfgolwl5vBsobrHkmenmpjk8oXb5Kxe3CyKl/2oO","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":130746},"type":"module","engines":{"node":">=18.0.0"},"gitHead":"98885b59fc6e79a2ed3a8d5661061077b670deac","scripts":{"dev":"tsx src/index.ts","build":"tsc","start":"node dist/index.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"amateur0x1","email":"amateur11m11d@gmail.com"},"repository":{"url":"git+https://github.com/amateur0x1/openclaw-agent.git","type":"git","directory":"agents/amateur0x1/openclaw-agent"},"_npmVersion":"10.9.4","description":"OpenClaw Agent Git Management Tool — version-control your agents with Git, sync across devices, and share with the community.","directories":{},"_nodeVersion":"22.22.1","dependencies":{"chalk":"^5.3.0","octokit":"^3.1.2","inquirer":"^9.2.15","commander":"^11.1.0","simple-git":"^3.22.0"},"_hasShrinkwrap":false,"description zh":"OpenClaw Agent Git 管理工具 — 将 agent 纳入 Git 版本控制，支持多端同步与社区分享。","devDependencies":{"tsx":"^4.7.0","typescript":"^5.3.3","@types/node":"^20.11.0","@types/inquirer":"^9.0.9"},"_npmOperationalInternal":{"tmp":"tmp/openclaw-agent_1.0.0_1774170955020_0.6895313304037023","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@amateur0x1/openclaw-agent","version":"1.1.0","keywords":["openclaw","openclaw-agent","agent","git","version-control","sync","multi-agent","claude","ai"],"license":"MIT","_id":"@amateur0x1/openclaw-agent@1.1.0","maintainers":[{"name":"amateur0x1","email":"amateur11m11d@gmail.com"}],"homepage":"https://github.com/amateur0x1/openclaw-agent","bugs":{"url":"https://github.com/amateur0x1/openclaw-agent/issues"},"bin":{"openclaw-agent":"dist/index.js"},"dist":{"shasum":"b90d17ec4ae454a51a71957150f73b170a102d2a","tarball":"https://registry.npmjs.org/@amateur0x1/openclaw-agent/-/openclaw-agent-1.1.0.tgz","fileCount":75,"integrity":"sha512-BKPT1nnWdA1ihUHroWdaXRT+RId2ld4g7TfIckLVDdwgn2sAyo9kH17n0AhgvoaT51BwW1IfMACQ9IZS4Fyaaw==","signatures":[{"sig":"MEYCIQCsFnqKna+OcwnI1c02iadH9GJw2iPQbEKH8g6p+XUlpgIhAMHXSaVKe3lFZZKYxdBhIXRRODkhlbEXm33svZbq6cXY","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":148723},"type":"module","engines":{"node":">=18.0.0"},"gitHead":"9edd0d09ead0f6e2dc67dc50e494b2bde400e1e8","scripts":{"dev":"tsx src/index.ts","test":"node --import tsx --test --test-concurrency=1 test/**/*.test.ts","build":"tsc","start":"node dist/index.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"amateur0x1","email":"amateur11m11d@gmail.com"},"repository":{"url":"git+https://github.com/amateur0x1/openclaw-agent.git","type":"git","directory":"agents/amateur0x1/openclaw-agent"},"_npmVersion":"10.9.4","description":"OpenClaw Agent Git Management Tool — version-control your agents with Git, sync across devices, and share with the community.","directories":{},"_nodeVersion":"22.22.1","dependencies":{"chalk":"^5.3.0","octokit":"^3.1.2","inquirer":"^9.2.15","commander":"^11.1.0","simple-git":"^3.22.0"},"_hasShrinkwrap":false,"description zh":"OpenClaw Agent Git 管理工具 — 将 agent 纳入 Git 版本控制，支持多端同步与社区分享。","devDependencies":{"tsx":"^4.7.0","typescript":"^5.3.3","@types/node":"^20.11.0","@types/inquirer":"^9.0.9"},"_npmOperationalInternal":{"tmp":"tmp/openclaw-agent_1.1.0_1774541494267_0.3707395659563226","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@amateur0x1/openclaw-agent","version":"1.1.1","keywords":["openclaw","openclaw-agent","agent","git","version-control","sync","multi-agent","claude","ai"],"license":"MIT","_id":"@amateur0x1/openclaw-agent@1.1.1","maintainers":[{"name":"amateur0x1","email":"amateur11m11d@gmail.com"}],"homepage":"https://github.com/amateur0x1/openclaw-agent","bugs":{"url":"https://github.com/amateur0x1/openclaw-agent/issues"},"bin":{"openclaw-agent":"dist/index.js"},"dist":{"shasum":"b26e3052c8746c42183b86f85d505710da42fd79","tarball":"https://registry.npmjs.org/@amateur0x1/openclaw-agent/-/openclaw-agent-1.1.1.tgz","fileCount":74,"integrity":"sha512-a939Syz4wKrAjMiw1BI5bUv643mC/9NAQSIAUCPOXFdMnukW7/SaImdQZtrE+W7ZWIcVO973a5pzuAJhJX6qxA==","signatures":[{"sig":"MEYCIQDZlzC6oyhP++shMFPnz9vVe7nNMSPNKvFbfoUWSr7XPAIhAMalNiUUVHXLYN5fYSo2IvkeYt1DuZ77PLCpbm3FNNNu","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":145732},"type":"module","engines":{"node":">=18.0.0"},"gitHead":"afde0eed25bbd403bb87e04d79c2861dfb33fcea","scripts":{"dev":"tsx src/index.ts","test":"node --import tsx --test --test-concurrency=1 test/**/*.test.ts","build":"tsc","start":"node dist/index.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"amateur0x1","email":"amateur11m11d@gmail.com"},"repository":{"url":"git+https://github.com/amateur0x1/openclaw-agent.git","type":"git","directory":"agents/amateur0x1/openclaw-agent"},"_npmVersion":"10.9.4","description":"OpenClaw Agent Git Management Tool — version-control your agents with Git, sync across devices, and share with the community.","directories":{},"_nodeVersion":"22.22.1","dependencies":{"chalk":"^5.3.0","octokit":"^3.1.2","inquirer":"^9.2.15","commander":"^11.1.0","simple-git":"^3.22.0"},"_hasShrinkwrap":false,"description zh":"OpenClaw Agent Git 管理工具 — 将 agent 纳入 Git 版本控制，支持多端同步与社区分享。","devDependencies":{"tsx":"^4.7.0","typescript":"^5.3.3","@types/node":"^20.11.0","@types/inquirer":"^9.0.9"},"_npmOperationalInternal":{"tmp":"tmp/openclaw-agent_1.1.1_1774541862212_0.7838261015553367","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@amateur0x1/openclaw-agent","version":"1.2.0","keywords":["openclaw","openclaw-agent","agent","git","version-control","sync","multi-agent","claude","ai"],"license":"MIT","_id":"@amateur0x1/openclaw-agent@1.2.0","maintainers":[{"name":"amateur0x1","email":"amateur11m11d@gmail.com"}],"homepage":"https://github.com/amateur0x1/openclaw-agent","bugs":{"url":"https://github.com/amateur0x1/openclaw-agent/issues"},"bin":{"openclaw-agent":"dist/index.js"},"dist":{"shasum":"fcb5e6c7ca9d32d5572f0245e9e57779a9cc21f8","tarball":"https://registry.npmjs.org/@amateur0x1/openclaw-agent/-/openclaw-agent-1.2.0.tgz","fileCount":74,"integrity":"sha512-tEWaPlM3QYx3IYD2jP9qtMcVtT1A5yPL2+pMbKi/itXFXJuh/jghrMTyMu45GCY5wmp+kGkyWPajHiFP1QaLfw==","signatures":[{"sig":"MEYCIQDFnporr6NbV0kKZHkacCcUHU3CAgPvbiXBBkbB9508lgIhAIkVGdMwbsqLamb2ZYeA0kXhlm7AQn/jPyPHKwef7K+0","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":145570},"type":"module","engines":{"node":">=18.0.0"},"gitHead":"a9bd88d326e56a5ba1bcec05509af441a5af0751","scripts":{"dev":"tsx src/index.ts","test":"node --import tsx --test --test-concurrency=1 test/**/*.test.ts","build":"tsc","start":"node dist/index.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"amateur0x1","email":"amateur11m11d@gmail.com"},"repository":{"url":"git+https://github.com/amateur0x1/openclaw-agent.git","type":"git","directory":"agents/amateur0x1/openclaw-agent"},"_npmVersion":"10.9.4","description":"OpenClaw Agent Git Management Tool — version-control your agents with Git, sync across devices, and share with the community.","directories":{},"_nodeVersion":"22.22.1","dependencies":{"chalk":"^5.3.0","octokit":"^3.1.2","inquirer":"^9.2.15","commander":"^11.1.0","simple-git":"^3.22.0"},"_hasShrinkwrap":false,"description zh":"OpenClaw Agent Git 管理工具 — 将 agent 纳入 Git 版本控制，支持多端同步与社区分享。","devDependencies":{"tsx":"^4.7.0","typescript":"^5.3.3","@types/node":"^20.11.0","@types/inquirer":"^9.0.9"},"_npmOperationalInternal":{"tmp":"tmp/openclaw-agent_1.2.0_1774543214009_0.9664524286443288","host":"s3://npm-registry-packages-npm-production"}},"1.4.0":{"name":"@amateur0x1/openclaw-agent","version":"1.4.0","keywords":["openclaw","openclaw-agent","agent","git","version-control","sync","multi-agent","claude","ai"],"license":"MIT","_id":"@amateur0x1/openclaw-agent@1.4.0","maintainers":[{"name":"amateur0x1","email":"amateur11m11d@gmail.com"}],"homepage":"https://github.com/amateur0x1/openclaw-agent","bugs":{"url":"https://github.com/amateur0x1/openclaw-agent/issues"},"bin":{"openclaw-agent":"dist/index.js"},"dist":{"shasum":"4238102937efcd0d4742c425227578663531dfdf","tarball":"https://registry.npmjs.org/@amateur0x1/openclaw-agent/-/openclaw-agent-1.4.0.tgz","fileCount":75,"integrity":"sha512-XxatrwKGhFfWjQIdaulfPYvB2PyHl0SFlpt6RNWY2dJYMm4FwDtEoLENup5TdYDq4RB52xvAQOXkqdq5PM5FQQ==","signatures":[{"sig":"MEUCIQCA4A2OhH977z449zbqK/4rPU/yPF8r1ImPC68FUk+6cgIgBYIMmdXH1fQyRERWfpiNF+Q55N+hf1mAFKaX8SF8jyk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":154368},"type":"module","engines":{"node":">=18.0.0"},"gitHead":"d923ea72f591303492f1367d9ad99ed8c714fb26","scripts":{"dev":"tsx src/index.ts","test":"node --import tsx --test --test-concurrency=1 test/**/*.test.ts","build":"tsc","start":"node dist/index.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"amateur0x1","email":"amateur11m11d@gmail.com"},"repository":{"url":"git+https://github.com/amateur0x1/openclaw-agent.git","type":"git","directory":"agents/amateur0x1/openclaw-agent"},"_npmVersion":"10.9.4","description":"OpenClaw Agent Git Management Tool — version-control your agents with Git, sync across devices, and share with the community.","directories":{},"_nodeVersion":"22.22.1","dependencies":{"chalk":"^5.3.0","octokit":"^3.1.2","inquirer":"^9.2.15","commander":"^11.1.0","simple-git":"^3.22.0"},"_hasShrinkwrap":false,"description zh":"OpenClaw Agent Git 管理工具 — 将 agent 纳入 Git 版本控制，支持多端同步与社区分享。","devDependencies":{"tsx":"^4.7.0","typescript":"^5.3.3","@types/node":"^20.11.0","@types/inquirer":"^9.0.9"},"_npmOperationalInternal":{"tmp":"tmp/openclaw-agent_1.4.0_1774547444873_0.03754682930283493","host":"s3://npm-registry-packages-npm-production"}},"1.4.1":{"name":"@amateur0x1/openclaw-agent","version":"1.4.1","description":"OpenClaw Agent Git Management Tool — version-control your agents with Git, sync across devices, and share with the community.","description zh":"OpenClaw Agent Git 管理工具 — 将 agent 纳入 Git 版本控制，支持多端同步与社区分享。","type":"module","bin":{"openclaw-agent":"dist/index.js"},"scripts":{"build":"tsc","dev":"tsx src/index.ts","start":"node dist/index.js","test":"node --import tsx --test --test-concurrency=1 test/**/*.test.ts","prepublishOnly":"npm run build"},"keywords":["openclaw","openclaw-agent","agent","git","version-control","sync","multi-agent","claude","ai"],"homepage":"https://github.com/amateur0x1/openclaw-agent","repository":{"type":"git","url":"git+https://github.com/amateur0x1/openclaw-agent.git","directory":"agents/amateur0x1/openclaw-agent"},"license":"MIT","dependencies":{"chalk":"^5.3.0","commander":"^11.1.0","inquirer":"^9.2.15","octokit":"^3.1.2","simple-git":"^3.22.0"},"devDependencies":{"@types/inquirer":"^9.0.9","@types/node":"^20.11.0","tsx":"^4.7.0","typescript":"^5.3.3"},"engines":{"node":">=18.0.0"},"_id":"@amateur0x1/openclaw-agent@1.4.1","gitHead":"4d08b45e1b0a1ede621d92d458165522754876b8","bugs":{"url":"https://github.com/amateur0x1/openclaw-agent/issues"},"_nodeVersion":"22.22.1","_npmVersion":"10.9.4","dist":{"integrity":"sha512-kOyFGtPmWgzLCwlmFZ68bdD37KH1sSwBVgAQs27nfL8E2d+wlPE43Lz4NYWYv4f21kRv9JdzD9uWsnf1BUjwxw==","shasum":"49db6059a5443e674c90d3217b30cdfab9e98849","tarball":"https://registry.npmjs.org/@amateur0x1/openclaw-agent/-/openclaw-agent-1.4.1.tgz","fileCount":75,"unpackedSize":153911,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCICYYrK7/vzc5JhfXBCScKq6KacBCpJ/PFpc7ODJBXbfdAiBD1LMlIHJLQFIkTnl/zh7jJwaamDCtNm1vu1kr3NParg=="}]},"_npmUser":{"name":"amateur0x1","email":"amateur11m11d@gmail.com"},"directories":{},"maintainers":[{"name":"amateur0x1","email":"amateur11m11d@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/openclaw-agent_1.4.1_1774550344601_0.6767481298548232"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-22T09:15:54.942Z","modified":"2026-03-26T18:39:04.875Z","1.0.0":"2026-03-22T09:15:55.163Z","1.1.0":"2026-03-26T16:11:34.472Z","1.1.1":"2026-03-26T16:17:42.383Z","1.2.0":"2026-03-26T16:40:14.172Z","1.4.0":"2026-03-26T17:50:45.046Z","1.4.1":"2026-03-26T18:39:04.758Z"},"bugs":{"url":"https://github.com/amateur0x1/openclaw-agent/issues"},"license":"MIT","homepage":"https://github.com/amateur0x1/openclaw-agent","keywords":["openclaw","openclaw-agent","agent","git","version-control","sync","multi-agent","claude","ai"],"repository":{"type":"git","url":"git+https://github.com/amateur0x1/openclaw-agent.git","directory":"agents/amateur0x1/openclaw-agent"},"description":"OpenClaw Agent Git Management Tool — version-control your agents with Git, sync across devices, and share with the community.","maintainers":[{"name":"amateur0x1","email":"amateur11m11d@gmail.com"}],"readme":"# openclaw-agent\n\n> OpenClaw Agent Git Management Tool — version-control your agents with Git, sync across devices, and share with the community.\n\n## The Problem\n\nWhen using OpenClaw agents across **multiple devices** or in a **team environment**:\n\n1. **Config drift** — workspace changes have to be manually copied\n2. **No version control for skills** — no history, no collaboration\n3. **No easy sharing** — sharing an agent means sharing a whole folder structure\n\n`openclaw-agent` puts your agent's **identity config + skills** under Git management, with GitHub as the sync/sharing backend.\n\n## Installation\n\n```bash\nnpm install -g @amateur0x1/openclaw-agent\n\n# Or build from source\ngit clone https://github.com/Amateur0x1/openclaw-agent.git\ncd openclaw-agent\nnpm install\nnpm run build\nnpm install -g\n```\n\n## Commands\n\n| Command            | Description                                                                | Who      |\n| ------------------ | -------------------------------------------------------------------------- | -------- |\n| `publish <name>`   | Auto-initializes if not managed, creates GitHub remote + pushes            | Creator  |\n| `track <name>`     | Local commit snapshot of current workspace (no push)                       | Creator  |\n| `pull <name/repo>` | Pulls from remote; auto-clones if not managed; syncs to OpenClaw workspace | Everyone |\n| `list`             | List all managed agents                                                    | Everyone |\n| `untrack <name>`   | Remove git management (OpenClaw workspace untouched)                       | Everyone |\n\n## Git Repo Structure\n\n```\n~/.openclaw-agents/repos/<agent>/\n├── config.json              # agent config (only key fields synced)\n└── workspace-<agent>/\n    ├── IDENTITY.md\n    ├── SOUL.md\n    ├── README.md           # English readme\n    ├── README_zh.md        # Chinese readme\n    └── skills/\n```\n\n**Excluded from sync**: `AGENTS.md`, `TOOLS.md`, `memory/`, `auth-profiles.json`, `sessions/`, `~/.openclaw/agents/<id>/`\n\n## Fields Synced in config.json\n\n```json\n{\n  \"id\": \"my-agent\",\n  \"name\": \"My Agent\",\n  \"skills\": [\"skill-1\", \"skill-2\"],\n  \"identity\": { ... },\n  \"subagents\": [ ... ],\n  \"tools\": [ ... ]\n}\n```\n\n## Usage Flow\n\n### Creator: Publish a new agent\n\n```bash\n# One command: initializes + creates remote + pushes\nopenclaw-agent publish my-agent\n\n# Subsequent development: local snapshot only\nopenclaw-agent track my-agent\n```\n\n### Collaborator: Use a shared agent\n\n```bash\n# Auto-clones and syncs to OpenClaw workspace\nopenclaw-agent pull owner/repo\n```\n\n### Day-to-day updates\n\n```bash\n# Creator pushes updates\nopenclaw-agent track my-agent   # commit current workspace\nopenclaw-agent publish my-agent # publish to GitHub\n\n# Collaborator pulls updates\nopenclaw-agent pull owner/repo\n```\n\n## Concepts\n\n| Concept     | Meaning                                                                    |\n| ----------- | -------------------------------------------------------------------------- |\n| **publish** | Auto-initializes if not managed, creates GitHub remote, first push         |\n| **track**   | Syncs OpenClaw workspace to local git repo and commits (no push)           |\n| **pull**    | Pulls from remote; auto-clones if not managed; syncs to OpenClaw workspace |\n| **untrack** | Removes git management, OpenClaw workspace stays intact                    |\n\n## FAQ\n\n**Q: Will `pull` overwrite my local changes?**\n> `pull` syncs remote content into `.openclaw/workspace-<name>/`. If you have uncommitted local changes, run `track` first to snapshot them.\n\n**Q: What files are NOT synced?**\n> `memory/`, `auth-profiles.json`, `sessions/`, and everything under `~/.openclaw/agents/<id>/`.\n\n**Q: What's the difference between creator and collaborator?**\n> Creators own the GitHub remote and can `publish`. Collaborators can only `pull` updates.\n\n## License\n\nMIT\n","readmeFilename":"README.md"}