by LofiSu
A local-first TypeScript AI agent that turns messages and scheduled events into tasks, with a Router and background Workers.
Available after the catalog security scan passes.
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM lists this project for discovery and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
# Add to your Claude Code skills
git clone https://github.com/LofiSu/LofiBotGuides for using ai agents skills like LofiBot.
See how LofiBot compares with popular alternatives.

English · 简体中文
LofiBot is a local TypeScript agent that turns messages and scheduled events into tasks. Its Router keeps the conversation moving while Workers run tasks in separate sessions. SQLite keeps task state across restarts.
Requires Node.js 22+, pnpm, and a model API key.
git clone https://github.com/LofiSu/LofiBot.git
cd LofiBot
pnpm install
export DEEPSEEK_API_KEY=your-key
pnpm lofibot init
pnpm lofibot chat "Summarize the open tickets"
pnpm lofibot tasks
See installation for other providers or to migrate an existing checkout. For Feishu and iMessage, run pnpm lofibot channels check before pnpm lofibot serve --imessage --feishu. See channel setup for details and GitHub.
For a native chat window, see the Rune desktop client. It connects to the same Agent runtime and can render an offline preview without opening a window.
flowchart TD
Sources["CLI · Feishu · iMessage · GitHub · A2A"]
Routines["Daemon routines"]
Ingress["Ingress · filter and route triggers"]
Router["Engine · Router batches by Thread and runs Eval"]
Assign["Ticket → Assignment"]
Worker["Harness · isolated Worker session · async ReAct"]
Tools["Model · sandboxed tools · optional MCP"]
Store[("SQLite · sessions, tasks, memory and Outbox")]
Watchdog["Watchdog · stalled work"]
Outbox["Router → Outbox → channel"]
Sources --> Ingress
Routines --> Ingress
Ingress --> Router
Router -->|actionable| Assign --> Worker
Router -->|subscribed Thread| Worker
Worker <--> Tools
Worker -->|report| Router
Router --> Outbox
Router <--> Store
Worker <--> Store
Watchdog -.->|nudge or fail| Assign
classDef input fill:#F9EDF5,stroke:#A73968,color:#17234E
classDef route fill:#213C83,stroke:#E94D9A,color:#FFFFFF,stroke-width:2px
classDef work fill:#DEEBFF,stroke:#345EB1,color:#17234E
classDef support fill:#EBF6A3,stroke:#61751D,color:#222D14
class Sources,Routines input
class Ingress,Router,Outbox route
class Assign,Worker,Tools work
class Store,Watchdog support
The Router owns replies. Workers report their results to it, and the Outbox handles delivery. Scheduled triggers and channel messages share the same ingress path.
The agent reuses scoped notes across sessions and consolidates them automatically. Run pnpm lofibot memory to inspect indexes or pnpm lofibot memory archive to read historical snapshots. Memory design
LofiBot is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by LofiSu. A local-first TypeScript AI agent that turns messages and scheduled events into tasks, with a Router and background Workers. It has 160 GitHub stars.
LofiBot's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/LofiSu/LofiBot" and add it to your Claude Code skills directory (see the Installation section above).
LofiBot is primarily written in TypeScript. It is open-source under LofiSu on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh LofiBot against similar tools.
No comments yet. Be the first to share your thoughts!