Skip to content
Agentmart
Submit a tool

rlm

Spawn and manage retained asynchronous children with separate transcripts and Python namespaces, optionally forking read-only conversation context.

Skill by clankerwrangler

IndexedMIT
Write a review

Chalk Labs

Need help deploying rlm?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/clankerwrangler-rlm

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Spawn and manage retained asynchronous children with separate transcripts and Python namespaces, optionally forking read-only conversation context. Use for retained child lifecycle operations.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/rlm

What's inside

Skill name
rlm
Description
Spawn and manage retained asynchronous children with separate transcripts and Python namespaces, optionally forking read-only conversation context. Use for retained child lifecycle operations.
License
MIT
Instructions
28 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (3)

  • SKILL.md
  • pyproject.toml
  • __init__.py · src/harness_rlm/

SKILL.md (first lines)

# Retained child agents

## Child lifecycle

Use `await rlm(prompt, name=..., model=..., thinking_level=..., fork_context=False)` to durably admit a child agent. Admission returns immediately; it never waits for or returns the child's answer.

Children retain their own Pi transcript after the initial task. They inherit the current cwd and approved Python-backed skill capabilities. By default, they do not inherit conversation history. Their Python namespace, identity, message queue, and task state are always separate.

Set `fork_context=True` to give a new child a read-only snapshot of the parent's active conversation context before its first task. The snapshot includes historical user messages, completed assistant answers, active compaction and branch summaries, images, and earlier inherited context. It excludes ordinary tool calls/results, reasoning blocks, failed or unfinished assistant responses, and family messages. Facts already present in summaries remain. The parent history is reference data, not new user submissions or executable work.

Forking does not copy parent system instructions or depth-specific prompts. Normal child policy, family authority, model selection, and skill grants still apply. Later parent changes do not enter the child. Revival uses the child's saved snapshot without reseeding. A fork is a conversation-context copy, not a Python or process fork. `fork_context` accepts only `True` or `False`; unavailable or oversized forks fail before child admission rather than silently falling back to isolation.

Useful operations:

- `await rlm(prompt, name=None, model=None, thinking_level=None, fork_context=False)` — admit and asynchronously start a retained child. Omit `model` to use the configured child model when set, otherwise the parent model. An explicit `model=` value is a pin, not a suggestion.
- `rlm.find_models(query="", limit=50)` — inspect the exact available provider/model catalog without credentials. It is a catalog, not a recommendation. The live parent/default and `grok-cli/grok-4.6` are listed first when present, so a Codex-heavy page or `limit=10` cannot hide the default pin.
- `rlm.list_subagents()` — list direct retained children and lifecycle state.
- `rlm.stop_subagent(selector)` — passivate one direct child while preserving it for revival.
- `rlm.revive_subagent(selector)` — queue one stopped/passivated direct child for canonical revival.
- `rlm.delete_subagent(selector)` — stop and tombstone one direct child and all its descendants. Deletion removes the subtree from routing and observation but retains every transcript and artifact on disk. The selector must identify a direct child, not a grandchild or unrelated session.

Model names resolve exactly, with no fallback. Use `provider/model` when a bare model ID is ambiguous. Unsupported options and unavailable configured or explicit models fail rather than falling back.

Explicit `openai-codex` pins require live OAuth. A dead provider still-births the first turn; the initial child task then fails rather than completing.

A child must return useful results explicitly with `agent_message.send(...)` or shared files. Send follow-up work to the same retained transcript with `agent_message.send(child, message)`.

From clankerwrangler/persistent-harness, MIT.

More from clankerwrangler/persistent-harness

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Sep 13, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from clankerwrangler

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get rlm running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying rlm?

CallGet help
Cite this page

rlm skill. Agent Mart. https://agentmart.dev/skills/clankerwrangler-rlm (last updated 2026-10-24)