ワンクリックで
local-dev
Start the local development environment (SQLite + Hono API) and run e2e tests.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Start the local development environment (SQLite + Hono API) and run e2e tests.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
| name | local-dev |
| description | Start the local development environment (SQLite + Hono API) and run e2e tests. |
| disable-model-invocation | true |
| argument-hint | ["start|test|stop|status"] |
| allowed-tools | Bash(npm *, npx *, curl *, pkill *, kill *, lsof *, ls *, cat *, mkdir *, rm *), Read, TaskOutput |
Manage the local dev daemon via the arkeon-wiki CLI. Everything runs as a single Node process — SQLite database and Hono API server. No Postgres, no Meilisearch, no Docker, no auth.
start (default)Use arkeon-wiki up to start the daemon detached:
npx tsx packages/arkeon/src/index.ts up
This:
~/.arkeon-wiki/data/arke.db001-foundation.sql)~/.arkeon-wiki/arkeon.pid/health until readyFor named instances (parallel daemons):
npx tsx packages/arkeon/src/index.ts up --name my-feature
Each named instance gets its own ARKEON_WIKI_HOME at ~/.arkeon-wiki/<name>/, its own SQLite database, and a deterministic port (8000 + sha256(name) mod 999 + 1).
Check it's running:
npx tsx packages/arkeon/src/index.ts status
npx tsx packages/arkeon/src/index.ts ls # list all running instances
Tail the daemon log:
npx tsx packages/arkeon/src/index.ts logs -f
stopnpx tsx packages/arkeon/src/index.ts down [--name <name>]
Sends SIGTERM, waits for graceful shutdown, removes the pidfile and instance registry entry.
statusnpx tsx packages/arkeon/src/index.ts status
Shows: process state, health, port, state directory, and bound space (if invoked from an initialized directory).
Each worktree should run its own named instance. The CLI and server ship as a single package — there's no version negotiation, so running worktree B's CLI against worktree A's server will break if the branches have schema or API differences.
WORKTREE_NAME=$(basename "$PWD")
npx tsx packages/arkeon/src/index.ts up --name "$WORKTREE_NAME"
This gives each worktree:
ARKEON_WIKI_HOME at ~/.arkeon-wiki/<name>/ (SQLite database, pidfile, log)~/.arkeon-wiki/instances/Always run arkeon-wiki init and other commands from the same worktree that started the instance.
The main checkout (not a worktree) uses the default instance: ~/.arkeon-wiki/, port 8000.
After the daemon is running, register the current directory as a space:
cd /path/to/my-repo
npx tsx packages/arkeon/src/index.ts init
This creates:
.arkeon/state.json with space_id and api_urlThe file watcher picks up the new space immediately and begins indexing.
E2e tests are self-contained — each test creates its own SQLite database in a temp directory and starts the API in-process. No running daemon is required.
npm run typecheck -w packages/arkeon
npm test -w packages/arkeon # unit tests
npm run test:e2e -w packages/arkeon # e2e tests
For interactive verification against a running daemon (e.g. exercising the CLI end-to-end), use a named worktree instance per the pattern above.
$ARKEON_WIKI_HOME (default ~/.arkeon-wiki/). Override with the env var or --data-dir.~/.arkeon-wiki/<name>/data/arke.db and restart — migrations are idempotent but a fresh database is the most reliable way to exercise the migration path from empty.~/.arkeon-wiki/instances/ is updated on up / down. Stale entries from crashed processes are pruned by arkeon-wiki status and arkeon-wiki ls.watch_dir — there's nothing to index ahead of time.