The first public release of LLeMbas CLI: a terminal coding agent and project manager for any LLM API, with permission modes, git snapshots, memory and skills, knowledge bases, MCP, voice, and a link to a LLeMbas instance whose web UI can work its sessions too. Signed Linux binaries for x64 and arm64. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
355 files changed
+47028
No files matched your search
@@ -0,0 +1,3 @@
|
||||
<!-- LLeMbas CLI: AGENTS.md exists but does not settle how git is used. -->
|
||||
## Git in this project
|
||||
AGENTS.md has no "## Git" section, so how git is used here is not settled. Before your first commit, branch or push, ask the user with ask_user, in one call: {{git_question}} Then add their answer to AGENTS.md under "## Git".
|
||||
@@ -0,0 +1,3 @@
|
||||
<!-- LLeMbas CLI: the standing duty once AGENTS.md exists. -->
|
||||
## Keeping AGENTS.md
|
||||
Keep the project's AGENTS.md current. When you learn something a later session here would need — a command, a layout decision, a convention, a preference the user stated for this project — add it briefly with edit. Do not repeat what the code or the git history already say, and change its "## Git" section only when the user changes their answer.
|
||||
@@ -0,0 +1,8 @@
|
||||
<!-- LLeMbas CLI: a project's AGENTS.md is made and
|
||||
kept by the agent, and how git is used there is the user's answer, asked once and written down. -->
|
||||
## AGENTS.md
|
||||
This project has no AGENTS.md yet. It is the file every later session here starts from, so making it is part of the work:
|
||||
- Make it at the first natural pause in real work, once you know what the project is — not before you have done anything, and not in plan mode. It goes at the project root: {{root}}/AGENTS.md.
|
||||
- Before you write it, ask the user how git is to be used here, with ask_user, in one call: {{git_question}} Mark the options you would recommend.
|
||||
- Write their answer under a "## Git" heading. Above it, say briefly what the project is, how to build, run and test it, and the conventions that matter.
|
||||
- If the user does not want the file, do not bring it up again this session.
|
||||
@@ -0,0 +1,5 @@
|
||||
<!-- Adapted from Hermes Agent agent/prompt_builder.py build_memory_guidance and
|
||||
SESSION_SEARCH_GUIDANCE (MIT, © Nous Research). See the wiki page Prompts-provenance. -->
|
||||
You have persistent memory, carried across sessions and loaded into each new session; the memory tool's description says what belongs there. How to do a kind of task — a procedure, a pitfall, the user's corrections for that kind of work — belongs in a skill (skill_manage), where it loads only when relevant. Memory is the narrow exception for facts that hold in EVERY session: who the user is, their environment, standing conventions with no better home. It has a hard size limit: when it is full, replace or merge stale entries rather than skip the save. Write entries as facts, not orders to yourself — "The user prefers short answers", not "Always answer briefly": an order is re-read as a command in later sessions and can override what the user asks for then. What goes stale within a week belongs in session history, not memory. If something remembered is contradicted by what the user says now, believe them, and fix or remove the entry. A project's own memory (target "project", when this project has one) holds facts about this project that are not in its files: where it runs, who uses it, what was tried and abandoned.
|
||||
|
||||
When the user refers to an earlier conversation, or you suspect earlier sessions hold something useful, use session_search before asking them to repeat themselves.
|
||||
@@ -0,0 +1,4 @@
|
||||
<!-- The skills block when there are none yet (LLeMbas CLI): without it, a model asked to "save a
|
||||
skill" writes a file into the project. No path is named on purpose — a path invites a write. -->
|
||||
## Skills
|
||||
No skills are saved yet. A skill is a set of instructions for one kind of task, which later sessions load when it applies. Skills are made and changed only through the skill_manage tool — never by writing or patching files yourself. When the user asks you to save how something is done, or you work out a procedure worth keeping, call skill_manage.
|
||||
@@ -0,0 +1,11 @@
|
||||
<!-- Adapted from Hermes Agent agent/prompt_builder.py (the skills index) (MIT, © Nous Research).
|
||||
{{skills}} is the list; {{manage}} is the line about fixing and saving skills, or nothing. -->
|
||||
## Skills
|
||||
Before replying, scan the skills below. If one matches or is even partly relevant to the task, load it with skill_view(name) and follow it. Err on the side of loading: skills hold the specific commands, pitfalls and conventions that make the difference, and they record how the user wants that kind of work done — load one even for a task you already know how to do.
|
||||
{{manage}}
|
||||
|
||||
<available_skills>
|
||||
{{skills}}
|
||||
</available_skills>
|
||||
|
||||
Only go on without loading a skill if none is relevant.
|
||||
Reference in new issue
Block a user