Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .claude-plugin/marketplace.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
"name": "kRicha",
"url": "https://github.com/kricha"
},
"homepage": "https://github.com/kricha/knowledge-capture",
"repository": "https://github.com/kricha/knowledge-capture",
"homepage": "https://github.com/0k-lab/knowledge-capture",
"repository": "https://github.com/0k-lab/knowledge-capture",
"license": "MIT",
"keywords": [
"agent-skill",
Expand Down
4 changes: 2 additions & 2 deletions .claude-plugin/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"name": "kRicha",
"url": "https://github.com/kricha"
},
"homepage": "https://github.com/kricha/knowledge-capture",
"repository": "https://github.com/kricha/knowledge-capture",
"homepage": "https://github.com/0k-lab/knowledge-capture",
"repository": "https://github.com/0k-lab/knowledge-capture",
"license": "MIT",
"keywords": [
"agent-skill",
Expand Down
6 changes: 3 additions & 3 deletions .codex-plugin/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"name": "kRicha",
"url": "https://github.com/kricha"
},
"homepage": "https://github.com/kricha/knowledge-capture",
"repository": "https://github.com/kricha/knowledge-capture",
"homepage": "https://github.com/0k-lab/knowledge-capture",
"repository": "https://github.com/0k-lab/knowledge-capture",
"license": "MIT",
"keywords": [
"agent-skill",
Expand All @@ -26,7 +26,7 @@
"capabilities": [
"Write"
],
"websiteURL": "https://github.com/kricha/knowledge-capture",
"websiteURL": "https://github.com/0k-lab/knowledge-capture",
"defaultPrompt": [
"Capture the current coding session.",
"Save decisions and next steps.",
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: CI

on:
push:
branches: [main]
pull_request:

permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && format('pr-{0}', github.event.pull_request.number) || 'main' }}
cancel-in-progress: true

jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
- run: node --test tests/*.test.js
22 changes: 11 additions & 11 deletions INSTALLATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Install `knowledge-capture` as a plugin when your agent supports plugins. Use th
Clone this repository and install the local plugin marketplace:

```bash
git clone https://github.com/kricha/knowledge-capture.git
git clone https://github.com/0k-lab/knowledge-capture.git
cd knowledge-capture
codex plugin marketplace add "$PWD"
codex plugin add knowledge-capture@knowledge-capture
Expand All @@ -20,7 +20,7 @@ Start a new Codex thread after installing so the skill is loaded into the sessio
Add this repository as a plugin marketplace and install the plugin:

```text
/plugin marketplace add kricha/knowledge-capture
/plugin marketplace add 0k-lab/knowledge-capture
/plugin install knowledge-capture@knowledge-capture
```

Expand All @@ -38,19 +38,19 @@ Run `/reload-plugins` or start a new Claude Code session after installing.
For OpenCode, Hermes, and other agents that load `SKILL.md` packages directly, install from the skill directory URL, not the repository root:

```text
https://github.com/kricha/knowledge-capture/tree/main/skills/knowledge-capture
https://github.com/0k-lab/knowledge-capture/tree/main/skills/knowledge-capture
```

Ask your agent:

```text
Install the knowledge-capture Agent Skill from https://github.com/kricha/knowledge-capture/tree/main/skills/knowledge-capture into this repo as .agents/skills/knowledge-capture.
Install the knowledge-capture Agent Skill from https://github.com/0k-lab/knowledge-capture/tree/main/skills/knowledge-capture into this repo as .agents/skills/knowledge-capture.
```

For Codex direct skill installation:

```text
$skill-installer install https://github.com/kricha/knowledge-capture/tree/main/skills/knowledge-capture
$skill-installer install https://github.com/0k-lab/knowledge-capture/tree/main/skills/knowledge-capture
```

Then add a repo instruction such as:
Expand All @@ -75,21 +75,21 @@ Expected install paths:
Some agents and skill collections use the community `skills` CLI as a one-line installer. For this single-skill repo, these are the equivalent forms to try:

```bash
npx skills add kricha/knowledge-capture -s knowledge-capture
npx skills add kricha/knowledge-capture -s knowledge-capture --global
npx skills add kricha/knowledge-capture -s knowledge-capture -a claude-code
npx skills add 0k-lab/knowledge-capture -s knowledge-capture
npx skills add 0k-lab/knowledge-capture -s knowledge-capture --global
npx skills add 0k-lab/knowledge-capture -s knowledge-capture -a claude-code
```

If your installer accepts a full skill directory URL, use:

```text
https://github.com/kricha/knowledge-capture/tree/main/skills/knowledge-capture
https://github.com/0k-lab/knowledge-capture/tree/main/skills/knowledge-capture
```

Manual clone/link installs must point at the skill folder, not the repository root:

```bash
git clone https://github.com/kricha/knowledge-capture.git
git clone https://github.com/0k-lab/knowledge-capture.git
cd knowledge-capture
mkdir -p ~/.cursor/skills
ln -s "$(pwd)/skills/knowledge-capture" ~/.cursor/skills/knowledge-capture
Expand All @@ -98,7 +98,7 @@ ln -s "$(pwd)/skills/knowledge-capture" ~/.cursor/skills/knowledge-capture
For a Claude Code plugin checkout, link the repository root because the plugin manifests live at the root:

```bash
git clone https://github.com/kricha/knowledge-capture.git
git clone https://github.com/0k-lab/knowledge-capture.git
cd knowledge-capture
mkdir -p ~/.claude/plugins
ln -s "$(pwd)" ~/.claude/plugins/knowledge-capture
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ This project is deliberately small. It does not sync, index, publish, promote du
Fastest path:

```bash
npx skills add kricha/knowledge-capture -s knowledge-capture
npx skills add 0k-lab/knowledge-capture -s knowledge-capture
```

This uses the community Skills CLI for a one-command install.
Expand Down
20 changes: 10 additions & 10 deletions tests/skill-contract.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ const CANONICAL_AUTHOR = {
name: "kRicha",
url: "https://github.com/kricha",
};
const CANONICAL_HOMEPAGE = "https://github.com/kricha/knowledge-capture";
const CANONICAL_REPOSITORY = "https://github.com/kricha/knowledge-capture";
const CANONICAL_HOMEPAGE = "https://github.com/0k-lab/knowledge-capture";
const CANONICAL_REPOSITORY = "https://github.com/0k-lab/knowledge-capture";
const CANONICAL_LICENSE = "MIT";
const CANONICAL_SKILLS_PATH = "./skills/";
const CANONICAL_MARKETPLACE_SOURCE = "./";
Expand Down Expand Up @@ -312,7 +312,7 @@ test("README is human-facing and makes installation attractive", () => {
assert.ok(readme.includes("## Install"));
assert.ok(readme.includes("Fastest path:"));
assert.ok(
readme.includes("npx skills add kricha/knowledge-capture -s knowledge-capture"),
readme.includes("npx skills add 0k-lab/knowledge-capture -s knowledge-capture"),
);
assert.ok(
readme.includes("This uses the community Skills CLI for a one-command install."),
Expand All @@ -322,7 +322,7 @@ test("README is human-facing and makes installation attractive", () => {
"For Codex plugin, Claude Code, OpenCode, direct skill installs, and checkout-based installs into another repo, see [INSTALLATION.md](INSTALLATION.md).",
),
);
assert.ok(!readme.includes("git clone https://github.com/kricha/knowledge-capture.git"));
assert.ok(!readme.includes("git clone https://github.com/0k-lab/knowledge-capture.git"));
assert.ok(!readme.includes("codex plugin marketplace add"));
assert.ok(!readme.includes("codex plugin add knowledge-capture@knowledge-capture"));
assert.ok(!readme.includes("### Claude Code Plugin"));
Expand Down Expand Up @@ -402,15 +402,15 @@ test("installation guide documents all supported install paths", () => {
assert.ok(installation.startsWith("# Installation"));
assert.ok(installation.includes("## Codex Plugin From A Clone"));
assert.ok(
installation.includes("git clone https://github.com/kricha/knowledge-capture.git"),
installation.includes("git clone https://github.com/0k-lab/knowledge-capture.git"),
);
assert.ok(installation.includes("codex plugin marketplace add \"$PWD\""));
assert.ok(
installation.includes("codex plugin add knowledge-capture@knowledge-capture"),
);
assert.ok(installation.includes("## Claude Code Plugin"));
assert.ok(
installation.includes("/plugin marketplace add kricha/knowledge-capture"),
installation.includes("/plugin marketplace add 0k-lab/knowledge-capture"),
);
assert.ok(
installation.includes("/plugin install knowledge-capture@knowledge-capture"),
Expand All @@ -423,7 +423,7 @@ test("installation guide documents all supported install paths", () => {
assert.ok(installation.includes("For OpenCode, Hermes, and other agents"));
assert.ok(
installation.includes(
"https://github.com/kricha/knowledge-capture/tree/main/skills/knowledge-capture",
"https://github.com/0k-lab/knowledge-capture/tree/main/skills/knowledge-capture",
),
);
assert.ok(installation.includes("Install the knowledge-capture Agent Skill from"));
Expand All @@ -444,17 +444,17 @@ test("installation guide documents all supported install paths", () => {
assert.ok(installation.includes("## Skills CLI And Manual Links"));
assert.ok(
installation.includes(
"npx skills add kricha/knowledge-capture -s knowledge-capture",
"npx skills add 0k-lab/knowledge-capture -s knowledge-capture",
),
);
assert.ok(
installation.includes(
"npx skills add kricha/knowledge-capture -s knowledge-capture --global",
"npx skills add 0k-lab/knowledge-capture -s knowledge-capture --global",
),
);
assert.ok(
installation.includes(
"npx skills add kricha/knowledge-capture -s knowledge-capture -a claude-code",
"npx skills add 0k-lab/knowledge-capture -s knowledge-capture -a claude-code",
),
);
assert.ok(
Expand Down
Loading