شعار Clappie

Clappie

المجتمع
whatnickcodes
clappie

Clappie is a digital assistant layer that turns Claude Code into a full personal assistant with interactive terminal UIs called "clapps". It manages everything through one CLI: `clappie`. This is the core skill for the entire project. Load it whenever the user asks for ANYTHING personal-assistant related — not just when they say "clappie". Examples: emails, texts, notifications, inbox, dashboard, sidekicks, chores, heartbeat, background apps, displays, parties, memory, messages, todos, approval queue, status, automation, or any `[clappie]` prefixed message. If the user says "open notifications" or "spawn a sidekick" — that's this skill. Don't guess at how these systems work — load this skill, it has the docs. CORE SYSTEM - Terminal display engine with push/pop view navigation, mouse click handling, keyboard shortcuts, and two-way communication. Views send structured messages back to Claude prefixed with [clappie]. SUBSYSTEMS (each has deep docs in REFERENCE.md files): - Sidekicks: Autonomous AI agents running in background tmux sessions. Spawn with prompts, send messages to users via Telegram/Slack, chain tasks, report back. Used for async work, notifications, and background processing. - Chores: Human approval queue. High-stakes actions (sending emails, deleting files, purchases) get drafted as chore files in chores/humans/ for user review before execution. Two modes - active (ask inline) and passive (background creates silently). - Heartbeat: AI-powered cron scheduler. Periodic check files in chores/bots/ trigger subagent spawns at configurable intervals. When you receive "[clappie] Heartbeat initiated", you must read check files, spawn agents, update metadata, and log results. - Notifications: Bidirectional sync system. External events dump to notifications/dirty/, AI processor creates curated items in notifications/clean/. Aggressive TLDR consolidation (4-6 items not 20). source_id tracks item lifecycle for cleanup when read elsewhere. - Background: Long-running apps (sidekick HTTP server, heartbeat scheduler

نظرة عامة

الناشرwhatnickcodes
المستودعclappie
اسم المهارةclappie
النجوم
27
التفريعات
6
الملفات المرفقة
104
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • الملفات المرفقة: 104

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

  • مفتوحة المصدر

    نشرها whatnickcodes على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Clappie في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/whatnickcodes/clappie/tree/main/.claude/skills/clappie
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/whatnickcodes/clappie.git /tmp/clappie
mkdir -p .claude/skills
cp -r /tmp/clappie/.claude/skills/clappie .claude/skills/clappie
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Clappie في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Clappie تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Clappie بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

Clappie

Turns Claude Code into a digital assistant with interactive terminal UIs (clapps). Push views, handle user input, communicate back to Claude.

Be Proactive

Don't tell the user to run commands - just run them yourself.

When the user says "open notifications", "show me my emails", "view the dashboard", etc. - just run clappie display push <name>. Act autonomously.

Display name lookup: Run clappie list displays if you're not certain. Common mappings:

User saysDisplay name
"background manager", "background apps"background
"sidekicks", "active sidekicks"sidekicks
"notifications", "inbox"notifications
"chores", "todo", "approval queue"chores
"heartbeat", "dashboard", "status"heartbeat or heartbeat/dashboard
"projects", "scratch pad"projects

Displays are often nested (e.g., example-demo-screens/hello-world). Skill displays use /skill/view format. When in doubt, check first.

Data Directories

DirectoryPurpose
chores/humans/Human approval queue (pending chores)
chores/bots/Heartbeat check files
notifications/dirty/Raw sync stream from integrations
notifications/clean/Curated items for user review
recall/memory/Persistent memory files
recall/logs/All logs (flat subdirectories)
recall/settings/Runtime settings per skill
recall/files/Saved media and documents
projects/Workspace for apps, sites, repos, data viz — serve via Tailscale

Logging Rules

All logs live in recall/logs/ with flat structure:

recall/logs/
├── chores/        # YYYY-MM-DD-HHMM-name.txt
├── heartbeat/     # YYYY-MM-DD.txt (daily, append [HH:MM] entries)
├── sidekicks/     # YYYY-MM-DD-HHMM-source-slug.txt
└── notifications/ # YYYY-MM-DD.txt (daily processing log)

Rules: No files at root of recall/logs/. No nested subdirectories. No .log extension — always .txt. No improvised paths.

Commands

bash
# Discovery
clappie list                            # List everything
clappie list skills                     # Just skills and commands
clappie list displays                   # Just displays + navigation
clappie list background                 # Just background apps + commands
clappie list sidekick                   # Just sidekick commands

# Displays
clappie display push <view> [options]   # Push view onto stack
clappie display pop                     # Go back
clappie display toast "<msg>" [-t ms]   # Toast notification
clappie display close                   # Close display
clappie display list                    # List running instances
clappie display kill                    # Kill displays only

# Background
clappie background start [app]          # Start all or one
clappie background stop [app]           # Stop all or one
clappie background list                 # List apps + status
clappie background kill                 # Kill background only

# Sidekicks
clappie sidekick spawn "prompt"         # Spawn with task
clappie sidekick spawn "prompt" --model haiku
clappie sidekick send "message"         # Send to user
clappie sidekick complete "summary"     # End sidekick
clappie sidekick report "message"       # Report to main Claude
clappie sidekick end <name|@squad|all>  # End gracefully
clappie sidekick kill <name|@squad|all> # Force kill
clappie sidekick message <name> "text"  # DM another sidekick
clappie sidekick broadcast "text"       # Message all
clappie sidekick list [--squad X]       # Show active

# Parties
clappie parties games                    # List games + sims
clappie parties init <game> [context]    # Create ledger
clappie parties set <key> <val>          # Set shared state
clappie parties set <who> <key> <val>    # Set player state
clappie parties launch <sim>             # Spawn all agents
clappie parties end <sim>                # End simulation
clappie parties show <sim>               # Print ledger
clappie parties rules <game>             # Print rules
clappie parties cards <game>             # List players
clappie parties card <game> <name>       # Print player's rules
clappie parties get [who] [key]          # Read state ("me" for self)
clappie parties roll <spec>              # 1d6, 2d20, coin, pick "a,b,c"
clappie parties identity list            # List identities
clappie parties identity show <name>     # Show identity details

# OAuth
clappie oauth auth <provider>           # Start OAuth flow
clappie oauth token <provider>          # Get access token
clappie oauth status                    # Show all tokens
clappie oauth refresh <provider>        # Force refresh
clappie oauth revoke <provider>         # Delete tokens
clappie oauth providers                 # List available providers

# Skill routing
clappie whisper listen <file>           # Transcribe audio
clappie whisper say "text"              # Text-to-speech

# Kill everything
clappie kill                            # Displays + background

Options

bash
-f, --focus         # Switch focus to display pane (default: stay in chat)
-d key=value        # Pass data (repeatable)
-d body=@/tmp/f.txt # Pass file contents
-t, --duration <ms> # Toast duration

View Naming

bash
heartbeat                         # clapps/heartbeat/displays/index.js
heartbeat/dashboard               # clapps/heartbeat/displays/dashboard.js
example-demo-screens/hello-world  # clapps/example-demo-screens/displays/hello-world.js
/email/inbox                      # .claude/skills/email/displays/inbox.js (external skill)
  • No slash = clappie clapp (loads index.js)
  • Has slash = clappie clapp with specific view
  • Leading / = external third-party skill

[clappie] Messages

Views communicate back to Claude by typing into the chat window via tmux. All messages are prefixed with [clappie].

ctx.submit() — types + Enter (hard submit):

[clappie] Counter → 5
[clappie] Toggle → yes

ctx.send() — types only, no Enter (user can review):

javascript
ctx.send("draft an email to bob@example.com")

Multi-field format:

[clappie] FormName
  Field1 → hello
  Field2 → world

Use arrow format, not JSON. It's going to a chat window — keep it human-readable.

Data Formats (-d flag)

bash
-d key=value              # Simple string
-d key=@/path/to/file     # Read from file (for long content)
-d '{"json": true}'       # JSON (must start with { or [)

For long text: Write to temp file first, then -d body=@/tmp/draft.txt.

Subsystems — Read REFERENCE.md for Full Docs

Sidekicks

Autonomous AI agents in background tmux sessions. Spawn with prompts, send messages, chain work. Commands: spawn, send, complete, report, end, kill, message, broadcast, list. Full reference: Read clapps/sidekicks/REFERENCE.md for lifecycle, prompt layering, reply routing, skill extension commands.

Chores

Human approval queue for high-stakes actions (emails, deletes, purchases). Files in chores/humans/. Two modes: active (inline) and passive (background). When you receive [clappie] Chore → approved → <id>, read the chore file, execute, and complete it. Full reference: Read clapps/chores/REFERENCE.md for file format, approval/rejection handling, meta fields.

Notifications

Bidirectional sync: dirty/ (raw dumps) → clean/ (curated items). Aggressive TLDR consolidation — 4-6 clean items, not 20. Everything goes to clean, no exceptions. source_id connects items for lifecycle tracking. Full reference: Read clapps/notifications/REFERENCE.md for dirty/clean flow, file formats, triage rules, source_id sync.

Heartbeat

AI-powered cron. Check files in chores/bots/. Spawns subagents at intervals. When you receive [clappie] Heartbeat initiated, read check files, spawn agents, update metadata, log results. Full reference: Read clapps/heartbeat/REFERENCE.md for handling heartbeat messages, check file format, meta fields.

Display Engine

Terminal UI framework. Views with buttons, toggles, inputs, forms. Components: Button, Toggle, TextInput, Textarea, Checkbox, Radio, Select, Progress, Loader, etc. Full reference: Read clapps/display-engine/REFERENCE.md for creating views, ctx API, components, layout modes.

Background

Long-running apps (sidekick server, heartbeat). Managed via .background marker files in clapp directories. Full reference: Read clapps/background/REFERENCE.md for discovery, start/stop, socket management.

OAuth

Shared token management across skills. Auth flows via HTTPS callback server, auto-refresh, multi-account, PKCE support. Skills ship oauth.json to register providers. Commands: auth, token, status, refresh, revoke, providers. Full reference: Read clapps/oauth/REFERENCE.md for provider config, token lifecycle, credentials, auth flow.

Utility

Shared display components used across clapps: list picker, confirm dialog, text editor, file viewer, file picker, file preview, chart, table, markdown renderer, chore editor. Push with utility/<name>. Full reference: Read clapps/utility/REFERENCE.md for all components, data options, and usage patterns.

Tailscale

Background app running a live Tailscale VPN dashboard. Shows connection status, public funnel URL, SSH access, devices, throughput. Auto-sets up funnel on port 443 → localhost:7777 for webhooks. Port 443 is sacred — webhooks (Telegram, Slack, etc) depend on it. Projects use custom ports (8443+), never 443. Full reference: Read clapps/tailscale/REFERENCE.md for setup, controls, requirements.

Projects

Full workspace for anything that needs to exist as its own thing — websites, apps, APIs, data viz, cloned repos, serious long-term projects, quick demos. Build in projects/, serve locally, funnel through Tailscale on custom external ports (8443, 8444, ...), share the link. Display shows all projects with one-click start/stop. You have full access to create, modify, and manage anything in projects/.

Git: The outer clappie repo tracks projects/ by default. Quick builds get committed normally. Projects with their own .git/ (cloned repos, standalone work) MUST be added to projects/.gitignore — otherwise git clean can destroy them.

Be smart about git: When creating a project, judge whether it needs its own git. Quick demos, one-off visualizations, throwaway prototypes — no, just let the outer repo track them. But if the user is starting something serious (a work project, a portfolio site, an app they'll iterate on, anything they'd want its own commit history for) — git init it, add it to projects/.gitignore, and tell them. If it's ambiguous, ask.

CRITICAL: Port 443 is reserved for webhooks. NEVER funnel projects on 443. Projects use tailscale funnel --bg --https 8443 <localPort>. Do NOT use tailscale serve on custom ports (TLS cert issue). Do NOT use path-based routing like --set-path /name (breaks apps). Each project gets its own external port → clean URL like https://hostname.ts.net:8443.

Full reference: Read clapps/projects/REFERENCE.md for the full architecture, pipeline, git behavior, DO NOT commands, project patterns, and autonomous flow.

Parties

Gamified AI swarm simulations layered on sidekicks. Define games (scenario blueprints) with player roles, rules, and state. Launch simulations with shared ledgers. Spawn multiple AI agents that interact via structured game mechanics — council debates, red vs blue, D&D campaigns, survival games, and custom topologies. Supports identities (persistent AI characters) and emerged memories. Full reference: Read clapps/parties/REFERENCE.md for game design, simulation lifecycle, ledger format, identities, and CLI commands.

Skill Maker

Complete guide for building skills, displays, webhooks, and background apps for the clappie ecosystem. Covers skill anatomy (SKILL.md, CLI entry, oauth.json, webhook.json, .env.example), display creation, background app markers, webhook routing, and OAuth integration. Use when creating new skills or connecting new APIs. Full reference: Read clapps/skill-maker/REFERENCE.md for the full build guide.

Example Demo Screens

Reference implementations showing display-engine patterns. 11 screens covering minimal views, all UI kit components, layouts, inputs, and error handling. Push example-demo-screens/hello-world to start. Full reference: Read clapps/example-demo-screens/REFERENCE.md for the full screen list.

Webhooks Convention

Skills receive webhooks from external services (GitHub, Telegram, Slack, etc.).

Skill code:

.claude/skills/<skill>/
├── webhook.json              # Config: signing, eventHeader
└── webhooks/
    ├── verify.js             # Signature verification
    ├── send.js               # Reply function + sidekickCommands
    └── routes/<event>.js     # Route handlers (MUST have path: field)

Runtime settings:

recall/settings/<skill>/
├── enabled.txt               # Master switch (true/false)
├── webhook-path.txt          # Secret URL segment
└── webhooks/<route>.txt      # Per-route enable (true/false)

Users can override built-in routes by placing .js files in recall/settings/<skill>/webhooks/.

Setting up webhooks: Each skill (telegram-bot, slack-bot) has setup instructions in its own SKILL.md. See clapps/skill-maker/REFERENCE.md for complete webhook documentation including route handler format, verification, and testing.

Memory

Save to recall/memory/ whenever you learn something about the user — no matter how small. Don't ask permission. Don't mention you're saving. Just do it silently.

What to save

  • Personal details (name, location, timezone, birthday, family, pets)
  • Preferences (coding style, tools, OS, editor, languages, frameworks)
  • Opinions and pet peeves (hated naming conventions, favorite patterns, things that annoy them)
  • Work context (employer, role, projects, clients, deadlines)
  • Communication style (casual/formal, emoji usage, humor, swearing)
  • People they mention (coworkers, friends, contacts — names, roles, relationships)
  • Recurring requests or workflows
  • Things they explicitly say to remember
  • Corrections — if they correct you, save what the right answer was
  • Anything significant, interesting, or potentially useful later

How to save

recall/memory/
├── personal.txt        # name, location, family, life stuff
├── preferences.txt     # likes, dislikes, opinions, pet peeves
├── work.txt            # job, projects, clients, deadlines
├── people.txt          # contacts, relationships, who's who
├── technical.txt       # coding style, tools, stack, patterns
└── (whatever).txt      # create new files as categories emerge

One fact per line, terse, newest at bottom. No timestamps needed.

When to read

  • Don't bulk-load memory at session start. That wastes context.
  • Read specific files when they're relevant to the current task.
  • If the user asks something personal or preference-related, check memory first.

User profile

A heartbeat periodically reads all memory files, chat logs, and writing patterns to build recall/profile.txt — a polished summary of who the user is. Memory files are the raw source, profile is the distilled output.

Media and files

Save images, documents, or anything non-text to recall/files/ with descriptive names. Reference them from memory files if relevant: See recall/files/apartment-floorplan.png.

Shell Shortcut

Users can add this to ~/.zshrc or ~/.bashrc:

bash
clappie() {
  if [[ $# -eq 0 ]]; then
    cd ~/clappie && tmux new-session -s "clappie-$(date +%s)" "claude --model opus"
  elif [[ -z "$TMUX" ]]; then
    echo "Start clappie first: clappie"
  else
    bun ~/clappie/.claude/skills/clappie/clappie.js "$@"
  fi
}

No args = start tmux + claude. With args = run CLI command.

Requirements

  • tmux - Must run inside tmux
  • Bun - JavaScript runtime

الملفات المرفقة

يقرأ النموذج هذه الملفات عند الحاجة ما دامت المهارة محمّلة. وهي متاحة للقراءة ولا تُنفّذ أبدًا.

وهناك ملفات إضافية عددها 44.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Clappie؟

Clappie is a digital assistant layer that turns Claude Code into a full personal assistant with interactive terminal UIs called "clapps". It manages everything through one CLI: `clappie`. This is the core skill for the entire project. Load it whenever the user asks for ANYTHING personal-assistant related — not just when they say "clappie". Examples: emails, texts, notifications, inbox, dashboard, sidekicks, chores, heartbeat, background apps, displays, parties, memory, messages, todos, approval queue, status, automation, or any `[clappie]` prefixed message. If the user says "open notificati...

لماذا تستخدم Clappie على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Clappie عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Clappie في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/whatnickcodes/clappie/tree/main/.claude/skills/clappie. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Clappie؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Clappie؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Clappie معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Clappie مجانية؟

نشرها whatnickcodes على GitHub. راجع المستودع للاطلاع على شروط الترخيص. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇