All use cases

Engineering

Tip only: let your bot search every past Claude Code and Codex session via AgentsView

Context from a month-old coding session is gone when you come back to the project.

Share

What hurt

John Engates (@jengates) gave his bot search over every Claude Code and Codex session he's run, using AgentsView from Wes McKinney. Not affiliated with xAI.

What to install or create

He asked about a month-old project from Claude Code and the bot picked up right where they left off.

Bots

  • Dev bot

    Searches past agent sessions for context.

Plugins

  • None on day one. Follow the first-run steps.

Routines

  • None on the first run. Watch one manual pass first.

The prompt

This is a tip, not a pasteable system prompt. The author did not publish one. Follow the first-run steps.

First run

  1. 1Read https://x.com/jengates/status/2108377267227468145 (credit @jengates).
  2. 2Install AgentsView where your Claude Code / Codex sessions live.
  3. 3Give your bot access to that machine.
  4. 4Ask it about an old project and check it finds the right session.

Approval fence

Sessions can contain secrets and private code; keep access to the bot you trust with that machine.

What to tweak

Your old agent sessions are a memory your bot can search.

Source

John Engates @jengates · Original post

Not affiliated with xAI. We did not write this prompt. Third-party template terms still apply.

Browse templates

Browse team blueprints

Pro pack

Want the full setup, not just the idea?

Pro packs give you the job text, prompts, schedules and pitfalls for popular use-cases.

See Pro