MiniCode

作者 LiuMengxuan04已验证

A lightweight terminal coding assistant with Claude Code-like workflow, tool loop, and TUI architecture, built for learning and experimentation. Multi-language support: TypeScript , Python and Rust implementations available now.

1,073
Stars
117
Forks
TypeScript
语言
2026/8/23
添加时间

⚠️ 第三方软件声明

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

阅读服务条款

安装

添加到你的 Claude Code skills 目录:

# Add to your Claude Code skills
git clone https://github.com/LiuMengxuan04/MiniCode

快速入门

使用 MiniCode 等 Skills 的指南。

安全报告

已验证

上次扫描:—

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

README.md

MiniCode

简体中文 | Usage Guide | DeepWiki | Architecture | Contributing | Roadmap | License

MiniCode is a lightweight terminal coding assistant for local development workflows.

It provides Claude Code-like workflow and architectural ideas in a much smaller implementation, making it especially useful for learning, experimentation, and custom tooling.

Overview

MiniCode is built around a practical terminal-first agent loop:

  • accept a user request

  • inspect the workspace

  • call tools when needed

  • review file changes before writing

  • return a final response in the same terminal session

The project is intentionally compact, so the control flow, tool model, and TUI behavior remain easy to understand and extend.

Core Authors

Summaries are based on the main repository and multi-language branch commit history. For the broader contributor list, please refer to the repository commit history.

Multi-language Versions

Product Showcase Page

  • Open docs/index.html in a browser for a visual product overview.

  • GitHub Pages (recommended): https://liumengxuan04.github.io/MiniCode/

Why MiniCode

MiniCode is a good fit if you want:

  • a lightweight coding assistant instead of a large platform

  • a terminal UI with tool calling, transcript, and command workflow

  • a small codebase that is suitable for study and modification

  • a reference implementation for Claude Code-like agent architecture

Core Capabilities

  • Multi-step tool execution in a single turn, forming a model -> tool -> model loop.

  • Up to 3 concurrent read-only sub-agents; the root agent owns all code changes and can wait for or close workers.

  • Full-screen terminal UI with input history, transcript scrolling, slash command menu, and approval flows.

  • Per-project session persistence with resume, rename, fork, and compact commands.

  • Provider-usage-first context stats with tail estimates, auto-compact, context collapse, and snip compact.

  • Built-in tools for files, search, editing, command execution, web fetch/search, and clarification prompts.

  • Local skills discovered through SKILL.md, plus MCP tools/resources/prompts over stdio or remote HTTP.

  • Review-before-write file edits with path and command permission checks.

  • Oversized tool results are stored on disk and replaced in context with a short preview and file path.

Full command references, configuration examples, session details, and Skills/MCP usage have moved to the Usage Guide.

Installation

cd mini-code
npm install
npm run install-local

The installer asks for the model name, ANTHROPIC_BASE_URL, and ANTHROPIC_AUTH_TOKEN. Configuration is stored in:

  • ~/.mini-code/settings.json

  • ~/.mini-code/mcp.json

You can override the config directory with MINI_CODE_HOME and the launcher directory with MINI_CODE_BIN_DIR. See Installation Details for more.

Quick Start

Run the installed launcher:

minicode

Run in development mode:

npm run dev

Run in offline demo mode:

MINI_CODE_MODEL_MODE=mock npm run dev

Common Entry Points

  • /help: show interactive help.

  • /tools: list available tools.

  • /skills: list discovered skills.

  • /mcp: show MCP connection status.

  • /status: show session and context status.

  • /init: scaffold .mini-code/ and MINI.md for the current project.

  • /memory: inspect the layered memory files loaded for the current turn.

  • /model / /model <name>: inspect or switch the model.

  • /resume: open the session picker.

  • /compact: manually compact the context.

Management commands include minicode mcp ... and minicode skills .... See Commands for the full reference.

Documentation

Star History

Development

npm run check
npm test

MiniCode is intentionally small and pragmatic. The goal is to keep the architecture understandable, hackable, and easy to extend.

常见问题

What is MiniCode?

MiniCode is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by LiuMengxuan04. A lightweight terminal coding assistant with Claude Code-like workflow, tool loop, and TUI architecture, built for learning and experimentation. Multi-language support: TypeScript , Python and Rust implementations available now. It has 1,073 GitHub stars.

Is MiniCode safe to use?

Yes. MiniCode 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 MiniCode?

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

What programming language is MiniCode written in?

MiniCode is primarily written in TypeScript. It is open-source under LiuMengxuan04 on GitHub, so you can review or fork the full source.

Are there alternatives to MiniCode?

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 MiniCode 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
查看详情