aster-chat-sessions
Skill107 starsChanged 4 months agoApache-2.0View on GitHub
Drive aster chat programmatically and manage sessions and memory: one-shot --print/--json answers, --messages-json for caller-owned history, --continue and --session persistence, --allow-edits gating, and the sessions/memory commands. Use when scripting aster chat, integrating it into an editor or agent, or inspecting saved transcripts.
In this repository10 other files it gives its agents.
- AGENTS.mdAGENTS.md
- aster-capabilitiesSkill
- aster-cliSkill
- aster-configSkill
- aster-fix-workflowSkill
- aster-planningSkill
- aster-review-ciSkill
- aster-skill-authoringSkill
- aster-ui-demoSkill
- gpt-astraSkill
The file
Files
Chat, sessions, and memory
aster chat talks to the review agent with read/search tools over the repo. In a terminal it opens a TUI; from scripts and agents always use the one-shot forms.
One-shot answers
aster chat -p "why is finding 2 critical?" # plain text (default when piped)
aster chat --json "summarize the last review" # {"reply", "edits", "usage"}
aster chat --no-tools -p "explain this error" # plain LLM turn, no repo tools--model overrides the model for the turn (else ASTER_MODEL, else aster.yaml).
History and persistence
aster chat --continue -p "and the second one?" # seed the most recent session's history
aster chat --session <ID> -p "..." # persist this turn into a session by id
aster chat --messages-json msgs.json -p "..." # caller-owned history (or `-` for stdin)--messages-json takes a JSON array of {"role","content"} with roles user | assistant | system. Combined with --session, the session only records the turn (the caller owns history); --session alone also seeds the session's prior history.
Edits
--allow-edits exposes an edit_file tool to the agent, gated by the permissions block in aster.yaml (deny-first globs, protected paths). Leave it off unless the task is explicitly to change files, and diff the working tree afterward.
Inspecting sessions
aster sessions # list saved sessions for this repo
aster sessions show <id> # full transcript
aster sessions --json # machine-readable (also on `show`)Durable memory
aster memory # list stored memory
aster memory add "we use pnpm" # append a fact to project memory
aster memory add --title deploy "…" # save a titled block
aster memory --json # machine-readableMemory is per-repo and fed to future chats and reviews; store durable facts (conventions, constraints), not one-off context.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

