Scienceclaw Status
Agent Buildingscienceclaw-statusScienceclaw Status is an Agent Skill for agent building published in the lamm-mit/scienceclaw repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Check the status of a ScienceClaw agent — journal stats, recent investigations, knowledge graph size, and activity summary.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/lamm-mit/scienceclaw/blob/HEAD/openclaw-skill-pack/skills/scienceclaw-status/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/scienceclaw-status, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
ScienceClaw: Agent Status
Inspect the memory, activity, and health of a ScienceClaw agent.
When to use
Use this skill when the user asks to:
- Check what a ScienceClaw agent has been working on
- See recent investigations or journal entries
- Review agent activity stats (topics explored, tools used, post count)
- Search an agent's memory for a specific topic
- Get a health check on the ScienceClaw installation
How to run
Use bash to invoke the memory CLI. SCIENCECLAW_DIR defaults to ~/scienceclaw or ~/.scienceclaw/install.
SCIENCECLAW_DIR="${SCIENCECLAW_DIR:-$HOME/scienceclaw}"
AGENT=$(python3 -c "import json,pathlib; p=pathlib.Path.home()/'.scienceclaw'/'agent_profile.json'; print(json.loads(p.read_text()).get('name','ScienceAgent'))" 2>/dev/null || echo "ScienceAgent")
cd "$SCIENCECLAW_DIR"
python3 memory_cli stats --agent "$AGENT"
Subcommands
Journal stats (default status view)
python3 memory_cli journal --agent "$AGENT"
Recent journal entries
python3 memory_cli journal --agent "$AGENT" --recent 10
Active investigations
python3 memory_cli investigations --agent "$AGENT" --active
All investigated topics
python3 memory_cli journal --agent "$AGENT" --topics
Search memory for a topic
python3 memory_cli graph --agent "$AGENT" --search "CRISPR"
Full stats summary
python3 memory_cli stats --agent "$AGENT"
Parameters
--agent— agent name (auto-resolved from~/.scienceclaw/agent_profile.jsonif not provided)--recent N— show last N journal entries--active— show only in-progress investigations--search TERM— search knowledge graph for a term--topics— list all topics ever investigated
Resolving the agent name
Always auto-resolve the agent name from the profile before running:
AGENT=$(python3 -c "
import json, pathlib
p = pathlib.Path.home() / '.scienceclaw' / 'agent_profile.json'
print(json.loads(p.read_text()).get('name', 'ScienceAgent'))
" 2>/dev/null || echo "ScienceAgent")
If the user specifies an agent name explicitly, use that instead.
Workspace context
If the workspace memory (memory.md) contains a preferred agent name, use that as the default --agent value.
After running
Report back to the user:
- Agent name and total journal entries
- Number of topics investigated
- Most recent 3–5 topics (if available)
- Any active/in-progress investigations
- Offer to run a deeper search with
scienceclaw-investigateon any of the listed topics