Mini Agent — AI skill for Claude Code
A mini AI agent CLI, similar to Claude Code and Gemini CLI.
How to install Mini Agent
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open ljw1004/mini_agent and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Mini Agent does
A mini AI agent CLI, similar to Claude Code and Gemini CLI.
Alternatives in AI
- System Prompts Leaks — Extracted system prompts from ChatGPT (GPT-5.4, GPT-5.3, Codex), Claude (Opus 4.6, Sonnet 4.6, Claude Code), G 38.6k ★
- AIHawk — Open-source AI browser agent: describe any task in plain language and it autonomously browses, clicks, types a 30.3k ★
- Qwen Code — A command-line AI workflow tool adapted from Gemini CLI, optimized for Qwen3-Coder models with enhanced parser 20.8k ★
README
Mini-agent
This is a minimal coding assistant with the same behavior as Claude Code. Minimal: just 280 loc for the agent, 400 loc for tools, 1200 lop for prompts. Intuitively it "runs an interactive coding agent":
$ python3 -m venv venv
$ source venv/bin/activate
$ pip install -r requirements.txt
$ export GEMINI_API_KEY=redacted
$ ./mini_agent.py --model gemini/gemini-2.5-pro
[MODEL: gemini/gemini-2.5-pro + gemini/gemini-2.5-flash]
[IMPLICIT --mcp builtin]
[TRANSCRIPT: /Users/ljw1004/.claude/projects/default/2025-09-01.jsonl]
> Please analyze the files in my current directory and tell me what they do.
>> # CLAUDE.md (project instructions) ...
>> Your TODO list is empty. Remember that the TodoWrite tool is a great
way to stay on top of complex tasks.
[7193 input tokens, 202 response tokens]
>> LS(...) -> "- /Users/ljw1004/code/mini_agent/\n - CLAUDE.md\n - LICENSE
[4042 cached input tokens, 3912 further input tokens, 204 response tokens]
>> Read(...) -> " 1→# Mini-agent\n 2→\n 3→
>> Read(...) -> " 1→#!/usr/bin/env python3\n 2→\n 3→from __future__
>> Read(...) -> " 1→from __future__ import annotations\n 2→from path
>> Read(...) -> " 1→from __future__ import annotations\n 2→from typi
[55145 input tokens, 5650 further input tokens, 194 response tokens]
< This project is a minimal coding assistant. Here's a breakdown of the key files:
* `mini_agent.py`: The main script that runs the interactive agent loop.
It takes user input, communicates with an LLM, and uses tools to perform tasks.
* `core_tools.py`: Implements the core functionalities (tools) that the agent
can use, such as reading/writing files (`Read`, `Write`, `Edit`), searching
(`Grep`, `Glob`), and running commands (`Bash`).
* `typedefs.py`: Defines the data structures and types used for messages, tools,
and conversation history (transcripts).
* `adapter.py`
Related Skills
AI Agent CLI
A CLI-based AI coding agent (like a mini Claude Code) that plans, asks clarifying questions, runs bash command
G Mini Agent
G-Mini Agent 🖥️👁️🗣️ Asistente IA open-source que VE tu pantalla, HACE CLIC automático y HABLA en tiempo rea
SKILL.Es
Delega trabajo al CLI de OpenAI Codex (cuota de ChatGPT, NO tu plan de Claude). AUTO para exploración de repo
Aspm
A Git-based package manager designed for AI-assisted development, similar to npm but supporting skills, agents
Socratic Shell
A playground for a global prompt for working with Claude Code and similar AI systems.
Claude Codex Cursor Token Saver
AI Coding Token Saver for Windows — optimize prompts and repository context before sending it to Claude, Codex
Related Agents
Gemini Runner
Delegates one scoped implementation chunk to Gemini CLI via ~/.claude/gemini/run.sh, choosing the cheapest mod
ZeroClaw Android
Run AI agents 24/7 on your Android phone. Native Rust core, 25+ providers (OpenAI, Claude, Gemini, Groq, DeepS
Agent Of Empires
Claude Code, OpenCode, Mistral Vibe, Codex CLI, Gemini CLI Coding Agent Terminal Session manager via tmux and