/SKILL.md
Personal AI Agent with Memory + Proactivity - Multi-instance support
npx skillsauth add miles990/mini-agent mini-agentInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
Security scan pending...
This skill is queued for security scanning. Results will appear when the scan completes.
Personal AI Agent with Memory + Proactivity. A lightweight agent that maintains long-term memory, schedules proactive tasks, and supports multi-instance deployment.
# Install via script (recommended)
curl -fsSL https://raw.githubusercontent.com/miles990/mini-agent/main/install.sh | bash
# Or manually
git clone https://github.com/miles990/mini-agent.git ~/.mini-agent
cd ~/.mini-agent && pnpm install && pnpm build && npm link
mini-agent
Commands in chat:
/help - Show available commands/search <query> - Search memory/remember <text> - Save to memory/heartbeat - Show active tasks/trigger - Execute pending tasks/proactive on|off - Toggle proactive mode/quit - Exitmini-agent readme.md "summarize this"
mini-agent src/app.ts "review this code"
mini-agent a.txt b.txt "compare these files"
echo "Hello" | mini-agent "translate to Chinese"
git diff | mini-agent "write commit message"
mini-agent server --port 3001
API endpoints:
POST /chat - Send a messageGET /memory - Read memoryGET /memory/search?q= - Search memoryPOST /memory - Add to memoryGET /tasks - List tasksPOST /tasks - Add a taskPOST /heartbeat/trigger - Trigger tasksmini-agent instance create --name "Research" --port 3002
mini-agent instance create --name "Coding" --port 3003 --role worker
mini-agent instance list
mini-agent --instance abc12345 "hello"
mini-agent --instance abc12345 server
mini-agent instance start abc12345
~/.mini-agent/
├── config.yaml # Global configuration
├── instances/
│ ├── default/ # Default instance
│ │ ├── instance.yaml # Instance config
│ │ ├── MEMORY.md # Long-term memory
│ │ ├── HEARTBEAT.md # Tasks
│ │ ├── SKILLS.md # Available skills
│ │ └── daily/ # Daily notes
│ └── {uuid}/ # Custom instances
└── shared/
└── GLOBAL_MEMORY.md # Shared memory (optional)
defaults:
port: 3001
proactiveSchedule: "*/30 * * * *"
claudeTimeout: 120000
maxSearchResults: 5
instances:
- id: default
role: standalone
id: "abc12345"
name: "Research Assistant"
role: standalone
port: 3002
persona:
description: "A technical research assistant"
systemPrompt: |
You are a helpful research assistant...
proactive:
enabled: true
schedule: "0 9,12,18 * * *"
memory:
maxSize: "50MB"
syncToGlobal: false
The agent uses special tags in responses:
[REMEMBER]...[/REMEMBER] - Content to save to memory[TASK schedule="..."]...[/TASK] - Task to add to heartbeatExample:
User: Remember that I prefer TypeScript
Assistant: [REMEMBER]User prefers TypeScript over JavaScript[/REMEMBER]
I'll remember that you prefer TypeScript!
Copy this SKILL.md to your project's .claude/skills/mini-agent/ directory.
// Chat with agent
const response = await fetch('http://localhost:3001/chat', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ message: 'Hello!' })
});
const data = await response.json();
console.log(data.content);
// Add to memory
await fetch('http://localhost:3001/memory', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ content: 'Important fact', section: 'Facts' })
});
claude command available)MIT
testing
Check Kuro's current status, health, and recent activity in one shot
testing
Deploy Kuro changes through CI/CD pipeline with pre-flight checks and post-deploy verification
data-ai
Example TaskFlow authoring pattern for inbox triage. Use when messages need different treatment based on intent, with some routes notifying immediately, some waiting on outside answers, and others rolling into a later summary.
data-ai
Example TaskFlow authoring pattern for inbox triage. Use when messages need different treatment based on intent, with some routes notifying immediately, some waiting on outside answers, and others rolling into a later summary.