cabinet-ai-knowledge-base
БесплатноБез исполняемых скриптовНе проверенAI-first knowledge base and startup OS with file-based storage, AI agents, scheduled jobs, and embedded apps
от reason-machines★ 99 звёзд на GitHubОб этом скилле
Cabinet AI Knowledge Base
Skill by ara.so — Daily 2026 Skills collection.
Cabinet is an AI-first startup OS and knowledge base where everything lives as markdown files on disk. No database, no vendor lock-in — self-hosted with AI agents that have memory, scheduled jobs, embedded HTML apps, git-backed history, and a full web terminal.
Installation
Quick Start (recommended)
npx create-cabinet@latest
cd cabinet
npm run dev:all
Open http://localhost:3000 — the onboarding wizard builds your AI team in 5 questions.
Manual Clone
git clone https://github.com/hilash/cabinet.git
cd cabinet
npm install
cp .env.example .env.local
npm run dev:all
Prerequisites
- Node.js 20+
- Claude Code CLI:
npm install -g @anthropic-ai/claude-code - macOS or Linux (Windows via WSL)
Environment Configuration
# .env.local
KB_PASSWORD=your_optional_password # Leave empty for no auth
DOMAIN=localhost # Or your custom domain
Key Commands
npm run dev # Next.js dev server on port 3000
npm run dev:daemon # WebSocket + job scheduler on port 3001
npm run dev:all # Both servers together (use this for development)
npm run build # Production build
npm run start # Production mode (both servers)
Architecture
cabinet/
src/
app/api/ → Next.js API routes
components/ → React components (sidebar, editor, agents, jobs, terminal)
stores/ → Zustand state management
lib/ → Storage, markdown, git, agents, jobs
server/
cabinet-daemon.ts → WebSocket + job scheduler + agent executor
data/
.agents/.library/ → 20 pre-built agent templates
getting-started/ → Default KB pages
Tech stack: Next.js 16, TypeScript, Tailwind CSS, shadcn/ui, Tiptap, Zustand, xterm.js, node-cron
Project Structure (data directory)
Cabinet stores everything as markdown files under data/:
data/
getting-started/
index.md
my-project/
index.md
research.md
index.html ← Embedded HTML app (auto-rendered as iframe)
.agents/
.library/
ceo.md
product-manager.md
researcher.md
active/
my-ceo/
index.md ← Agent definition
memory.md ← Agent memory (auto-updated)
Agent Definition Format
Agents are defined as markdown files with YAML frontmatter:
---
name: Research Scout
role: researcher
schedule: "0 */6 * * *" # Cron: every 6 hours
skills:
- web-search
- summarization
- reddit-scout
goals:
- Monitor competitor activity
- Surface trending topics in AI tooling
- File weekly summary reports
---
# Research Scout
You are a research agent for [Company Name]. Your job is to...
## Memory
<!-- Agent memory is auto-appended here by the daemon -->
Creating a Custom Agent
Via the UI
- Navigate to the Agents panel in the sidebar
- Click "New Agent" and select a template or start blank
- Fill in role, goals, and schedule
- Cabinet creates
data/.agents/active/<agent-name>/index.md
Programmatically
// src/lib/agents.ts pattern — create an agent file directly
import fs from 'fs/promises'
import path from 'path'
const agentDir = path.join(process.cwd(), 'data', '.agents', 'active', 'my-agent')
await fs.mkdir(agentDir, { recursive: true })
await fs.writeFile(
path.join(agentDir, 'index.md'),
`---
name: My Custom Agent
role: analyst
schedule: "0 9 * * 1"
goals:
- Analyze weekly metrics
- Post summary to #reports channel
---
# My Custom Agent
You are a data analyst agent. Every Monday at 9am you will...
`
)
Scheduled Jobs (Cron)
Agents use standard cron syntax in their frontmatter schedule field:
# Common schedule patterns
schedule: "0 */6 * * *" # Every 6 hours
schedule: "0 9 * * 1" # Every Monday at 9am
schedule: "0 8 * * *" # Every day at 8am
schedule: "*/30 * * * *" # Every 30 minutes
schedule: "0 0 * * 0" # Weekly on Sunday midnight
The Cabinet daemon (server/cabinet-daemon.ts) reads agent files and registers jobs via node-cron. Jobs run agent prompts through Claude Code and write results back to the agent's memory file.
Embedded HTML Apps
Drop an index.html in any folder under data/ — Cabinet automatically renders it as an embedded iframe with a full-screen toggle:
data/
my-dashboard/
index.html ← Cabinet renders this as an embedded app
data.json
style.css
Example data/my-dashboard/index.html:
<!DOCTYPE html>
<html>
<head>
<title>Metrics Dashboard</title>
<style>
body { font-family: sans-serif; padding: 20px; background: #1a1a1a; color: #eee; }
.metric { font-size: 2rem; font-weight: bold; color: #55c938; }
</style>
</head>
<body>
<h1>Weekly Metrics</h1>
<div class="metric" id="count">Loading...</div>
<script>
Установить cabinet-ai-knowledge-base в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл cabinet-ai-knowledge-base?
AI-first knowledge base and startup OS with file-based storage, AI agents, scheduled jobs, and embedded apps
Как установить скилл cabinet-ai-knowledge-base?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл cabinet-ai-knowledge-base запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic