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
8 changes: 0 additions & 8 deletions .agents/cmd-thiscode-km-bootstrap.yaml

This file was deleted.

9 changes: 0 additions & 9 deletions .agents/cmd-thiscode-km.yaml

This file was deleted.

9 changes: 0 additions & 9 deletions .agents/cmd-thiscode-search.yaml

This file was deleted.

10 changes: 0 additions & 10 deletions .agents/cmd-thiscode-setup.yaml

This file was deleted.

31 changes: 0 additions & 31 deletions .agents/knowledge-manager-at.yaml

This file was deleted.

17 changes: 0 additions & 17 deletions .agents/knowledge-manager-bootstrap.yaml

This file was deleted.

20 changes: 0 additions & 20 deletions .agents/knowledge-manager-lite.yaml

This file was deleted.

18 changes: 0 additions & 18 deletions .agents/knowledge-manager-plain.yaml

This file was deleted.

19 changes: 0 additions & 19 deletions .agents/knowledge-manager.yaml

This file was deleted.

16 changes: 0 additions & 16 deletions .agents/search-lite.yaml

This file was deleted.

38 changes: 0 additions & 38 deletions .agents/search.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion .claude-plugin/marketplace.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
{
"name": "thiscode",
"description": "Claude Code 환경 + Discord 봇 + tmux/oh-my-tmux 통합 셋업 플러그인. WSL/Linux/macOS 자동 detect.",
"version": "1.3.2",
"version": "1.4.0",
"source": "./",
"author": {
"name": "treylom",
Expand Down
4 changes: 2 additions & 2 deletions .claude-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "thiscode",
"description": "Claude Code 환경 + Discord/Slack 봇 + tmux/oh-my-tmux 통합 셋업 플러그인. WSL/Linux/macOS 자동 detect. 슬래시: /thiscode:start, /thiscode:init, /thiscode:create-bot, /thiscode:create-discord-bot, /thiscode:add-bot, /thiscode:create-slack-bot, /thiscode:slack-configure, /thiscode:install-hooks, /thiscode:open-meeting, /thiscode:km, /thiscode:km-bootstrap, /thiscode:search, /thiscode:test, /thiscode:codex-check, /thiscode:self-update, /thiscode:prompt, /thiscode:help.",
"version": "1.3.2",
"description": "Claude Code 환경 + Discord/Slack 봇 + tmux/oh-my-tmux 통합 셋업 플러그인. WSL/Linux/macOS 자동 detect. 지식관리·볼트 검색은 km 플러그인이 담당하며 /thiscode:km·/thiscode:km-bootstrap은 설치와 목적지 명령만 안내. commands/: /thiscode:add-bot, /thiscode:codex-check, /thiscode:init, /thiscode:install-browser, /thiscode:km-bootstrap, /thiscode:km, /thiscode:open-meeting, /thiscode:slack-configure, /thiscode:start, /thiscode:test.",
"version": "1.4.0",
"author": {
"name": "treylom",
"email": "treylom@users.noreply.github.com"
Expand Down
29 changes: 19 additions & 10 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

## What this plugin provides

- **KM ingestion** (Mode I/R/G per `contracts/km-mode-spec.md`)
- **4-Tier vault search** per `contracts/search-fallback-4tier.md`
- **3 variants** per `contracts/km-variant-matrix.md`: `lite` / `at` / `plain`
- **Bot-harness operations**: setup/installers, meetings, shared memory, model routing, and Codex/Discord bridges.
- **Knowledge management and vault search are outside ThisCode 1.4.0**. Install the km plugin and use `/km:search`,
`/km:knowledge-manager`, and `/km:setup` for those capabilities.

## Packaging layers

Expand All @@ -29,17 +29,26 @@ bash scripts/km-version.sh

Compares plugin contracts vs the vault mirror at `<vault>/.claude/reference/contracts/`. Exits non-zero on any version mismatch.

## Slash commands
## Claude Code entry points

| Command | Variant | Purpose |
| Entry point | Surface | Purpose |
|---|---|---|
| `/thiscode:km` | auto-routes | Mode I/R/G dispatch (see km-variant-matrix) |
| `/thiscode:search` | n/a | 4-Tier search |
| `/thiscode:km-bootstrap` | wizard | First-time install + config write |
| `/thiscode:add-bot` | `commands/add-bot.md` | Add a Discord bot to an existing setup |
| `/thiscode:codex-check` | `commands/codex-check.md` | Verify the Codex CLI bridge |
| `/thiscode:init` | `commands/init.md` | Detect the environment and guide selected ThisCode local setup scripts |
| `/thiscode:install-browser` | `commands/install-browser.md` | Install and verify the browser tool |
| `/thiscode:km-bootstrap` | `commands/km-bootstrap.md` | Point to ThisCode local search-tool scripts and km plugin setup |
| `/thiscode:km` | `commands/km.md` | Point to `/km:search` and `/km:knowledge-manager` |
| `/thiscode:open-meeting` | `commands/open-meeting.md` | Create the standard multi-bot meeting files |
| `/thiscode:slack-configure` | `commands/slack-configure.md` | Connect a Claude Code session to Slack |
| `/thiscode:start` | `commands/start.md` | Run the main Discord bot setup wizard |
| `/thiscode:test` | `commands/test.md` | Run feature smoke tests |

`/thiscode:setup` is the separate `skills/setup/SKILL.md` entry point, not a file under `commands/`. Knowledge management and vault-search behavior are provided by the km plugin; the two ThisCode `km*` commands above are migration pointers, not local implementations.

## Cross-harness invocation reference

- **Claude Code**: `Skill(search)`
- **Hermes Agent**: `claude_discode_search` tool (auto-registered via `hermes-plugin/__init__.py`)
- **Claude Code**: `Skill(<name>)` for any skill under `skills/`; vault search uses the km plugin (`/km:search`)
- **Hermes Agent**: the runtime registers the `on_session_start` drift-check hook; KM/search surfaces are not registered here
- **Gemini CLI**: read `GEMINI.md` on startup; skills auto-discovered from `skills/`
- **OpenCode / Goose / Cursor**: standard agentskills.io SKILL.md frontmatter (`name` + `description`) makes them visible
19 changes: 9 additions & 10 deletions GEMINI.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

This is the Gemini CLI / multi-harness entry context for the `thiscode` plugin.

> thiscode brings a portable knowledge manager + 4-Tier vault search to any agentskills.io-compatible runtime.
> thiscode brings bot-harness operations to agentskills.io-compatible runtimes. Knowledge management and vault search
> are provided by the separate km plugin.

## When to use

- Student needs to ingest a URL / file / inline text into a local markdown vault.
- Student asks a vault question and wants graded fallback (GraphRAG → Obsidian CLI → vault-search MCP → ripgrep).
- Student is debugging why search returns "Tier 4: 텍스트 검색 결과입니다" — invoke `/thiscode-km-bootstrap`.
- Student needs to configure the ThisCode bot harness, meetings, shared memory, or model routing.
- Student needs knowledge management or vault search — install the km plugin and follow its command documentation.

## Layout (L3 — npm gemini-extension wrapper)

Expand All @@ -20,12 +20,11 @@ This is the Gemini CLI / multi-harness entry context for the `thiscode` plugin.

## Key facts

- **Single source of truth** for behavior: `contracts/search-fallback-4tier.md`, `contracts/km-mode-spec.md`, `contracts/km-variant-matrix.md`. Any client MUST follow these.
- **Variants** (`contracts/km-variant-matrix.md`): `lite` (default, Phase 1·2), `at` (Phase 3 Agent Teams), `plain` (headless).
- Drift detection: `bash scripts/km-version.sh` — compares plugin contracts vs vault mirror.
- ThisCode's source of truth covers bot-harness operations and its installation contracts.
- KM behavior and command variants are documented by the km plugin; thiscode does not bundle those skills.
- Drift detection: `bash scripts/km-version.sh` — compares the remaining plugin contracts vs vault mirror.

## Suggested first actions

1. `/thiscode-km-bootstrap` — install + wire 4-Tier stack.
2. `/thiscode:km <URL>` — ingest a first article.
3. `/thiscode:search "MCP"` — verify search.
1. `/thiscode:setup` — configure the ThisCode bot harness and installer surfaces.
2. Install the km plugin, then follow `/km:setup`, `/km:search`, and `/km:knowledge-manager` in its documentation.
Loading
Loading