invincat

作者 dog-qiuqiu已验证

A native Python agent CLI built on DeepAgents CLI, featuring an independent memory Agent that captures learnings after each task and delivers efficient AI coding assistance through hierarchical memory management.

209
Stars
22
Forks
Python
语言
2026/8/23
添加时间

⚠️ 第三方软件声明

本 Skill 为第三方开源软件,独立托管于 GitHub。SkillTip 仅为信息目录,不控制或维护底层仓库。所显示的安全检查为自动化且范围有限,安装前请自行审查源码。

阅读服务条款

安装

添加到你的 Claude Code skills 目录:

# Add to your Claude Code skills
git clone https://github.com/dog-qiuqiu/invincat

快速入门

使用 invincat 等 Skills 的指南。

安全报告

已验证

上次扫描:—

{
  "status": "PASSED",
  "issues": []
}

README.md

Invincat

CI codecov PyPI Python License: MIT

Invincat is a terminal-native AI coding assistant for local repositories. It can inspect and edit files, run shell commands with approval, use web/MCP tools, keep long-term memory, plan before execution, run scheduled tasks, and bridge remote WeCom messages into a project session.

Features

  • Work directly from your project directory in a terminal UI.
  • Read, edit, and create files with approval-gated tool execution.
  • Run shell commands under configurable safety controls.
  • Use /plan to review and approve an execution plan before implementation.
  • Keep user and project memory across sessions.
  • Create recurring or one-shot scheduled tasks in natural language.
  • Extend capabilities through MCP tools, skills, and WeCom bot daemon integration.

Quick Start

pip install invincat-cli
cd /path/to/your/project
invincat-cli

On first launch, run /model to configure a provider and model.

Installation

Requires Python 3.11+.

pip install invincat-cli

Install from source:

git clone https://github.com/dog-qiuqiu/invincat.git
cd invincat
pip install -e .

Start

Run Invincat from your project directory:

cd /path/to/your/project
invincat-cli

Model Configuration

After the first launch, run /model to open the model manager.

  • Press Ctrl+N to register a model.
  • Fill in the provider, model name, API key, and optional base URL.
  • Select a model and press Enter to activate it.

You can also provide credentials through environment variables such as:

export OPENAI_API_KEY="..."
export ANTHROPIC_API_KEY="..."
export GOOGLE_API_KEY="..."
export DEEPSEEK_API_KEY="..."
export OPENROUTER_API_KEY="..."

Example for DeepSeek:

export DEEPSEEK_API_KEY="sk-..."

Then register a model in /model with:

FieldValue
Provideropenai
Modeldeepseek-v4-flash
API KeyDEEPSEEK_API_KEY
BASE URLhttps://api.deepseek.com

Invincat supports a primary model for normal work and an optional memory model for post-turn memory extraction. If no memory model is configured, memory extraction uses the current primary model.

Basic Commands

CommandDescription
/modelConfigure and switch models.
/planEnter plan-first mode and approve a checklist before execution.
/goalStart or inspect a long-running objective.
/memoryOpen the memory manager.
/scheduleOpen the scheduled task manager.
/mcpView connected MCP servers and tools.
/threadsBrowse and resume conversation threads.
/helpShow command help.

Goal Mode

Use /goal <objective> when you want Invincat to keep working toward one long-running objective across multiple turns. Goal mode keeps the active objective in context, asks before drifting away from it, and only exits when you complete, cancel, or clear the goal.

Common commands:

CommandPurpose
/goalEnter goal mode and use the next message as the objective, or show the active goal.
/goal <objective>Create a goal and start the main agent on it.
/goal <objective> --budget 20000Create a goal with an optional token budget.
/goal statusShow the active goal state.
/goal complete [summary]Mark the goal complete.
/goal cancel [summary] or /exit-goalCancel goal mode.
/goal clearRemove the current thread's stored goal state.

Goal state is scoped to the current thread and stored under .invincat/goals/, so an active goal can be restored when the same thread is resumed.

Memory Management

Invincat keeps durable memory in two scopes:

ScopePurposeStore
UserStable personal preferences, recurring instructions, and reusable context for the current agent.~/.invincat/<agent>/memory_user.json
ProjectRepository-specific decisions, conventions, and facts that should follow the current project..invincat/memory_project.json

After completed non-trivial turns, a background memory agent extracts useful updates and refreshes the memory context for later sessions. Explicit requests such as "remember this" or "save this" are treated as stronger memory signals. If no dedicated memory model is configured, extraction uses the current primary model; for a session-level memory model, use /model 2 <provider:model>.

Use /memory to inspect and manage memory entries. The viewer supports switching user/project scope, refreshing, sorting, showing archived items, and deleting selected entries with confirmation. Prefer this UI over manual JSON edits because the memory files are managed by the memory subsystem.

Plan Mode

Use /plan when a task needs review before changes are made. In this mode, Invincat first produces an execution checklist instead of immediately editing files or running implementation commands. After you approve the checklist, the main agent executes the approved steps.

Plan mode is useful for risky, multi-file, ambiguous, or architecture-level work where you want to inspect the approach first. The planner is limited to read and planning tools such as file reads, search, web lookup, todos, user questions, and plan approval; implementation tools are reserved for the post-approval execution phase.

Built-in Subagents

Invincat includes focused subagents that the main agent can call through the task tool for isolated, context-heavy work.

SubagentResponsibility
explorerCodex-style read-only local codebase exploration for locating behavior, tracing call paths, understanding module boundaries, and returning file-backed findings directly to the main agent before implementation.
workerCodex-style implementation agent for bounded source-code changes, bug fixes, tests, and local refactors within clearly assigned file or module ownership. It should not commit, push, release, deploy, or expand beyond its assigned scope unless explicitly told.
researcherRead-only external/source research, release-note checks, ecosystem comparison, and evidence-backed tradeoff summaries. Local call-path and module tracing should go to explorer.
document-workerDocument-centric parsing, extraction, summarization, conversion, comparison, and quality checks for PDF, DOCX, PPTX, XLSX, Markdown, CSV, and JSON files. It should write only explicit document outputs, not source code, tests, CI, project config, or the primary README.

These roles are separate so the main agent can keep orchestration and execution focused while delegated agents handle specialized work in isolated contexts and return concise findings.

Built-in Skills

Skills are lightweight capability packs loaded into the agent when a task matches their description. They provide focused instructions, workflows, and supporting scripts without becoming separate agents.

SkillResponsibility
docxRead, create, edit, convert, comment on, and reorganize Microsoft Word .docx documents.
pdfRead, extract, merge, split, rotate, watermark, create, fill, encrypt, decrypt, OCR, and inspect PDF files.
pptxRead, create, edit, combine, split, and analyze PowerPoint decks, slides, templates, notes, and comments.
xlsxRead, create, edit, clean, format, chart, validate, and convert spreadsheets such as .xlsx, .xlsm, .csv, and .tsv.
skill-creatorGuide users and agents through creating, updating, validating, and structuring new skills.

Skill Installation and Configuration

Built-in skills are enabled by default. Custom skills can be added at user or project scope:

ScopeDirectory
User~/.invincat/<agent>/skills/
User shared~/.agents/skills/
Project.invincat/skills/
Project shared.agents/skills/
Built-in<package>/built_in_skills/

Project skills override user skills with the same name, and custom skills override built-in skills. Each skill lives in its own directory with a SKILL.md file that defines its name, description, and instructions.

Some built-in skills rely on document-processing libraries that are not needed for normal coding sessions. Install the matching extras when you want those workflows available:

pip install "invincat-cli[pdf]"
pip install "invincat-cli[office]"
pip install "invincat-cli[all-skills]"

Office conversion and spreadsheet recalculation workflows may also need system tools such as LibreOffice, Poppler, Tesseract, or Node.js packages named by the skill instructions.

For local release checks, install:

pip install "invincat-cli[release]"

WeCom Bot Daemon

Configure a robot on the enterprise WeChat side to obtain the "Bot ID" and "Secret":

https://developer.work.weixin.qq.com/document/path/101463

Invincat can run a foreground WeCom bot daemon for project-scoped remote turns and scheduled-task delivery.

Configure the bot credentials first:

export WECOM_BOT_ID="your_bot_id"
export WECOM_BOT_SECRET="your_bot_secret"

WECOM_WS_URL is optional and defaults to wss://openws.work.weixin.qq.com. Set it only when you need to override the WeCom websocket endpoint.

Start the daemon from the project directory:

cd /path/to/your/project
invincat-cli wecombot

For a lightweight background process, run it with nohup:

cd /path/to/your/project
mkdir -p .invincat
nohup invincat-cli wecombot > wecombot.nohup.log 2>&1 &

Stop it by stopping the foreground process or killing the background process.

常见问题

What is invincat?

invincat is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by dog-qiuqiu. A native Python agent CLI built on DeepAgents CLI, featuring an independent memory Agent that captures learnings after each task and delivers efficient AI coding assistance through hierarchical memory management. It has 209 GitHub stars.

Is invincat safe to use?

Yes. invincat passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.

How do I install invincat?

Clone the repository with "git clone https://github.com/dog-qiuqiu/invincat" and add it to your Claude Code skills directory (see the Installation section above).

What programming language is invincat written in?

invincat is primarily written in Python. It is open-source under dog-qiuqiu on GitHub, so you can review or fork the full source.

Are there alternatives to invincat?

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 invincat against similar tools.

评论 (0)

暂无评论,成为第一个分享想法的人!

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情

claude-code

by anthropics

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

120,03119,897Shell
AI 智能体
查看详情

开发者还喜欢

基于喜欢此 Skill 的开发者投票和收藏

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP 服务器apisai-tools
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情