by shany9200
A self-extending AI agent that runs anywhere Termux runs. Writes its own capabilities, remembers across sessions.
# Add to your Claude Code skills
git clone https://github.com/shany9200/ThreeGuides for using ai agents skills like Three.
See how Three compares with popular alternatives.
Three is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by shany9200. A self-extending AI agent that runs anywhere Termux runs. Writes its own capabilities, remembers across sessions. It has 58 GitHub stars.
Three'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/shany9200/Three" and add it to your Claude Code skills directory (see the Installation section above).
Three is primarily written in Python. It is open-source under shany9200 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 Three against similar tools.
No comments yet. Be the first to share your thoughts!
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 is an informational directory 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.
A self-extending AI agent that runs anywhere Termux runs — phones, tablets, TV boxes, old laptops. It writes new capabilities for itself, remembers across sessions, and can operate a phone through ADB.
A malleable low-level agent with the potential to grow in every direction.
Goal: to become the best assistant for all of humanity.
Lightweight: runs anywhere Termux runs, available anytime, anywhere.
Three is not a tool. It is a malleable low-level agent.
Its core is not any single feature, but a skeleton that keeps growing:
The design goal of Three: give it a direction, and it grows into what that direction requires.
Lessons are "how I should act"; the diary is "what I have done". They are kept separate so they do not contaminate each other.
The model does not write lessons automatically. Reason: the model may write wrong conclusions, overturned inferences, or duplicate entries into the lesson library, and since the library is fully loaded into the prompt, contamination would persistently bias all subsequent conversations.
Human writing ensures every lesson has passed human judgment.
The core ships with a capability registry. Adding a new capability takes three steps:
Once registered, the main loop recognizes the tag automatically — no need to touch the loop structure. Three can complete these three steps on its own: it reads its own source, writes the function, registers it, and verifies it, fully autonomously.
The core also provides SELF_EDIT: safely edit itself with automatic backup, ast validation, and rollback on failure. Plus run_cmd auto-backup — when a command touches Three.py, it backs up first.
Install:
pip install requests
Three is designed to be lightweight — it runs on a single Android phone, no computer required.
In Termux:
pkg install python
pip install requests
python Three.py
Pull out your phone and use it anytime, anywhere. This is the first step toward "becoming the best assistant for all of humanity" — let everyone own it first.
export OPENAI_API_KEY=your-key
export OPENAI_BASE_URL=https://api.deepseek.com
export OPENAI_MODEL=deepseek-chat
python Three.py
Type your message directly. When Three needs to run a command, it wraps it in a CMD tag in its reply; the script executes it automatically and feeds the result back.
Type exit or quit to leave. On exit, it automatically writes a summary of the session to the diary. On the next launch, it reads the most recent diary entries as boot-time recall.
Three.py main program
Three_memory.log lesson library (principles, fully loaded into prompt)
Three_diary.md diary (facts, most recent entries only)
启用说明书.md detailed usage document (Chinese)
README.zh-CN.md Chinese README
LICENSE MIT
Three executes shell commands generated by the LLM, with no sandbox and no confirmation.
This means:
Recommendations:
The MIT disclaimer covers civil claims, but users must judge the risks themselves.
Three's malleability means any capability can be plugged in as a new tag.
Capabilities Three has added on its own:
Built into the core:
MIT License, Copyright (c) 2026 尚逸
Three is the accumulation of lessons from three generations of agents: One, Two, and Three. Every section in the lesson library is signed with a name and date — that is where it comes from.