diff --git a/README.md b/README.md index 6ec63c8..3e0167f 100644 --- a/README.md +++ b/README.md @@ -66,6 +66,24 @@ composer require netresearch/matrix-skill ``` Requires [netresearch/composer-agent-skill-plugin](https://github.com/netresearch/composer-agent-skill-plugin). +### npm (Node Projects) + +```bash +npm install --save-dev \ + @netresearch/agent-skill-coordinator \ + github:netresearch/matrix-skill +``` + +Requires [@netresearch/agent-skill-coordinator](https://github.com/netresearch/node-agent-skill-coordinator), which discovers the skill in `node_modules` and registers it in `AGENTS.md` via a `postinstall` hook. For pnpm, also allowlist the coordinator's postinstall: + +```json +{ + "pnpm": { + "onlyBuiltDependencies": ["@netresearch/agent-skill-coordinator"] + } +} +``` + ## Prerequisites **For E2EE support** (most Matrix rooms), install libolm: diff --git a/composer.json b/composer.json index 9be42cf..a70e33c 100644 --- a/composer.json +++ b/composer.json @@ -17,7 +17,10 @@ "netresearch/composer-agent-skill-plugin": "*" }, "extra": { - "ai-agent-skill": "skills/matrix-communication/SKILL.md" + "ai-agent-skill": [ + "skills/matrix-communication/SKILL.md", + "skills/matrix-administration/SKILL.md" + ] }, "support": { "issues": "https://github.com/netresearch/matrix-skill/issues", diff --git a/package.json b/package.json new file mode 100644 index 0000000..eca26e3 --- /dev/null +++ b/package.json @@ -0,0 +1,40 @@ +{ + "name": "@netresearch/matrix-skill", + "version": "0.0.0-source", + "description": "Netresearch AI skill for Matrix chat communication and homeserver administration.", + "license": "(MIT AND CC-BY-SA-4.0)", + "author": "Netresearch DTT GmbH (https://www.netresearch.de/)", + "homepage": "https://github.com/netresearch/matrix-skill", + "repository": { + "type": "git", + "url": "git+https://github.com/netresearch/matrix-skill.git" + }, + "bugs": { + "url": "https://github.com/netresearch/matrix-skill/issues" + }, + "keywords": [ + "ai-agent-skill", + "matrix", + "chat", + "synapse", + "e2ee", + "anthropic", + "claude-code" + ], + "aiAgentSkill": [ + "skills/matrix-communication/SKILL.md", + "skills/matrix-administration/SKILL.md" + ], + "files": [ + ".claude-plugin/", + "skills/matrix-communication/", + "skills/matrix-administration/", + "scripts/", + "LICENSE-MIT", + "LICENSE-CC-BY-SA-4.0", + "README.md" + ], + "peerDependencies": { + "@netresearch/agent-skill-coordinator": "^0.1" + } +}