中文 · Install · Architecture · Contributing
Reusable Agent Skills for web evidence, cited research, browser work, and monitoring—backed by one secure local execution boundary when shared Provider access is required.
ArkSpace gives coding Agents focused operating instructions instead of one oversized prompt. The current repository includes ten canonical Skills and the arks CLI, which coordinates Provider credentials, multiple-key rotation, fallback, owned remote resources, and machine-readable results.
Paste this into your coding Agent:
Install ArkSpace from https://github.com/arch3rPro/Ark-Space by following the repository's INSTALL.md. Ask before changing my global packages, Agent configuration, or MCP configuration. Never ask me to paste an API key into this conversation. When credentials are required, stop and ask me to run `arks setup` myself in a trusted local terminal. Verify the CLI, installed Skills, and Provider readiness before declaring success.
See the Roadmap for current progress and acceptance gates, and the 0.3.0 release notes for release evidence.
npm install --global @arkspace/cli@latest
npx skills@latest add arch3rPro/Ark-SpaceThen run the credential wizard yourself in a trusted local terminal:
arks setup
arks doctor
arks web search "agent skills"Keep API keys out of Agent chats.
arks setupuses hidden terminal input and stores local credentials separately from configuration and state. Environment variables remain available for CI and externally managed secrets.
See INSTALL.md for host-specific installation, verification, update, uninstall, MCP, and credential details. The CLI updater shipped in 0.1.5. Install the released CLI with @latest, verify with arks --version (0.3.0), and update Skills separately.
For Skills installed through the Skills CLI:
npx skills@latest check # Check for available Skill updates
npx skills@latest update # Manually update installed SkillsThese commands apply to Skills tracked by the installer, not just ArkSpace. Back up local edits before updating; npx may download the tool and write its cache. CLI updates are separate, and native Codex/Claude plugins use their host's plugin update mechanism.
| Skill | Use it to… |
|---|---|
askme |
Clarify consequential requirements, preserve agreed constraints, and correct execution drift. |
notes |
Write a finished, retrievable note from research results, with sourced facts and a lint check. |
web |
Find, retrieve, map, crawl, or extract public Web and implementation evidence. |
research |
Produce a bounded, cited synthesis from supplied evidence, targeted investigation, or hosted Research. |
browser |
Inspect or change dynamic page state in an owned remote browser session. |
monitor |
Manage recurring searches and site-change checks beyond the current session. |
weknora |
Search, import, and answer questions over a WeKnora knowledge base through its REST API. |
x-search |
Read X posts, threads, profiles and timelines through your own Nitter instance. |
usegpt |
Save ChatGPT reports and attachments by name in a local folder selected in arks setup usegpt. Set the default storage location in arks setup usegpt and ask ChatGPT to save to a subfolder such as docs/research. Remote agents can find and read saved text through the optional read-only HTTP MCP endpoint. |
gh-repo |
Analyze GitHub project architecture, maturity, and borrowing tradeoffs with revision-pinned source evidence; inspect supporting issues/PRs. |
notes is guidance plus one Skill-local lint script: drafting needs no tools, and only the lint step needs Node.js 20+. It needs no arks CLI, network, credentials, or sibling Skills, and works with any delivery target (local directory, Obsidian, WeKnora); it skips linking and indexing when the target lacks them.
askme is guidance-only: it needs conversational follow-up, with no CLI, network, credentials, or sibling Skills. It can be invoked explicitly or selected by the Agent when a consequential ambiguity or execution mismatch needs resolution. Clear tasks proceed directly; alignment does not add a universal approval step.
research selects the lightest investigation path that can answer the question. Supplied evidence uses host read tools; exact links, including GitHub files, start with native host fetch tools, and missing sources start with native search. gh-repo serves project-level analysis and issue/PR work. Shared ArkSpace calls require the CLI and applicable Provider readiness, and hosted research.run requires Exa or Tavily. Guidance loads by task; reports use meaningful visuals, concrete scenarios and readable citations at the requested depth. No sibling Skill, subagent, or document plugin is required.
See the Skill, Capability, and Provider reference for operation identifiers, Provider coverage, fallback behavior, and resource ownership.
Run arks setup weknora in your trusted terminal to manage its API root, masked key, and optional default knowledge base. Authenticated managed verification, list/detail, and search may target a valid localhost, private, or public address without a CIDR exception. They retain URL and address validation, DNS pinning, TLS verification, redirect refusal, no-proxy transport, deadlines, and response bounds. An explicit request to read the configured instance authorizes that network access; HTTP is supported with an informational plaintext-transport warning. The managed path does not join Web search order or fallback.
A manually supplied WEKNORA_BASE_URL / WEKNORA_API_KEY pair remains independent and needs no CLI. Imports, document/chunk operations, multi-base search, and streamed chat continue using that environment path. See installation and the managed guide.
x-search calls four read-only capabilities (x.search, x.thread, x.user, x.timeline) against a Nitter instance you operate. Run arks setup nitter to save its address and a masked token, or supply NITTER_BASE_URL and NITTER_API_TOKEN together. Every call spends your X session quota, and heavy use can get those accounts limited. Tweet text is returned as untrusted data. Nitter is not a Web search Provider. See ADR 0026.
A Skill can remain pure guidance, carry a self-contained script, use an external application, or call a shared ArkSpace capability. arks is required only for the last case.
Agent host
└─ Agent Skill
├─ host tools / Skill-local scripts / external tools
└─ arks invoke <capability> --input <file>
├─ Provider-neutral capability handler
├─ Exa / Tavily / Firecrawl / SearXNG adapter
└─ credentials, key pool, fallback, and owned state
The shared runtime provides:
- Stable machine output: one Protocol v1 JSON envelope on stdout; diagnostics stay on stderr.
- Credential isolation: setup happens in a human-controlled terminal, while config and state retain references and non-secret metadata.
- Multiple-key handling: transactional round-robin selection, cooldown, disable states, and classified fallback.
- Honest remote lifecycle: timeout, cancellation, uncertain acceptance, partial output, and cleanup remain distinct outcomes.
- Owned resources: browser sessions and monitors stay bound to the credential that created them and require confirmation for material side effects.
- One MCP adapter:
arks mcp serveexposes the same dispatcher instead of duplicating Provider logic.
Human-facing commands optimize for discovery:
arks provider list
arks web fetch "https://example.com/docs"
arks web crawl "https://docs.example.com" --max-pages 20 --max-depth 2
arks code context "current TypeScript SDK usage"
arks research run "compare current agent research APIs" --depth standard
arks browser open "https://example.com"
arks monitor status <monitor-id>Skills use the stable machine boundary:
arks invoke web.search --input search-request.json
arks invoke research.run --input research-request.json
arks invoke browser.open --input browser-open-request.json
arks invoke monitor.create --input monitor-create-request.jsonProtocol schemas are published under schemas/protocol/v1/.
- Portable Skills: compatible filesystem-based hosts can install the canonical
skills/tree with the Agent Skills installer. - Claude Code plugin: the repository marketplace manifest references canonical Skills directly.
- Codex plugin metadata:
.codex-plugin/plugin.jsonpoints to the same canonical directory. - MCP stdio: Claude Code, Codex, and other MCP hosts can register
arks mcp servewhen tool discovery is useful.
There are no generated plugin mirrors. Routine Skill changes update the canonical source; plugin version metadata changes only during an explicit release.
- Never enter API keys in an Agent question, chat message, command argument, fixture, or tracked file.
arks setupwrites local keys to the user-levelcredentials.jsonfile with restrictive permissions where supported.- Explicit environment variables override locally stored values.
config.jsonstores credential references;state.jsonstores anonymous key IDs and lifecycle metadata.- Browser and monitor mutations require explicit confirmation; cleanup and uncertain remote outcomes remain visible.
The local credential file contains plaintext secrets and is not an operating-system keychain. Read ADR 0009 and Security Policy before choosing a credential strategy for a managed environment.
Version 0.3.0 was released on 2026-12-01. Install with npm install --global @arkspace/cli@latest and verify the installed version with arks --version (expected: 0.3.0). See 0.3.0 release notes and the Roadmap. Version 0.1.7 remains the historical comparison baseline; 0.1.5 introduced the manual CLI updater.
Setup currently has six menu entries: Search, Social media, Knowledge, Tools, Settings, and Exit. It manages seven service contexts: four Web providers (Exa, Tavily, Firecrawl, SearXNG), WeKnora, UseGPT, and Nitter. Search Order is a pseudo-context on the Search strip, not an eighth service. Automated Linux PTY coverage does not establish human usability, live-service behavior, or hosted Windows/macOS terminal qualification. See ADR 0016, ADR 0017, ADR 0023, and ADR 0024 for the interaction, security, engine, and presentation decisions.
Build the checkout as described in INSTALL.md, then run node dist/cli/main.js setup (or append exa, tavily, firecrawl, or searxng) without replacing your global installation. Existing credential preview, environment precedence, ownership guards, narrow per-instance CIDR consent, live-test consent, cancellation, and terminal restoration remain as specified in the setup contract.
Current source also shares local readiness between Setup and doctor, excludes disabled/cooling credentials from scheduling readiness, and supports node dist/cli/main.js doctor --service <id> --json for any of the seven services. Connection-only installations can pass their own readiness check. These are local checks, not live validation; UseGPT additionally checks its local Hub/Tunnel processes. Esc cancels active connection verification or service-command waits, and interrupted service changes require a status recheck. These additions have not been published; see installation and readiness. Empty standalone setup also offers a Cancel-default goal chooser (g reopens it); service pages explain capability coverage and the next step. Goal selection only navigates and does not configure or contact a service.
The current source also checks the official UseGPT Tunnel client before starting. If it is missing on Linux x64/ARM64, selecting Tunnel in Setup offers a Cancel-default, SHA-256-verified installation of pinned v0.0.21 and then starts the service. macOS uses the official Homebrew tap; other platforms receive manual instructions. Opening Setup stays offline. See Tunnel client preparation.
Current limits:
- Node.js 22.19.0 or newer and a local host with shell, network, and persistent user storage are required. UseGPT Artifact Hub storage uses unflagged
node:sqlite. - Exa, Tavily, and Firecrawl operations require the applicable account and may incur Provider charges; SearXNG search instead requires an explicitly configured instance.
- Keyless Exa MCP access and Tavily/Firecrawl OAuth are research topics, not implemented authentication backends.
- Current progress and remaining acceptance gates are tracked in the Roadmap; historical migration backlog entries are not current implementation status.
- This release does not declare replacement cutover of the existing ArkSpace project; broader host, platform, and real-Provider qualification remains separate.
| Need | Read |
|---|---|
| Install, verify, update, or uninstall | Installation |
| Understand boundaries and execution models | Architecture |
| Current progress and next acceptance gates | Roadmap |
| Review migration history and cutover gates | Migration plan |
| Inspect 0.1 evidence and blockers | Version 0.1 evidence |
| Record real-use friction and improvement evidence | Field Testing Log |
| Add or design a Skill | Adding Skills |
| Configure MCP stdio | MCP transport |
| Check intended host and OS support | Platform Support |
| Understand maintenance and release rules | Maintenance |
git clone https://github.com/arch3rPro/Ark-Space.git
cd Ark-Space
npm install
npm run checkRead CONTRIBUTING.md and AGENTS.md before changing the project. Security reports follow SECURITY.md.
ArkSpace is available under the MIT License.
