首页龙虾技能列表 › ScienceClaw: Agent Status — ScienceClaw: 代理状态 — 代理运行状态检查

📊 ScienceClaw: Agent Status — ScienceClaw: 代理状态 — 代理运行状态检查

v1.0.2

检查 ScienceClaw 代理的状态,包括日志统计、最近调查、知识图大小和活动摘要。

0· 162·0 当前·0 累计
by @fwang108 (Fiona Wang)·MIT-0
下载技能包
License
MIT-0
最后更新
2026/4/11
安全扫描
VirusTotal
无害
查看报告
OpenClaw
可疑
high confidence
该技能的运行指令仅检查本地 ScienceClaw 文件并运行本地 Python CLI,但声明了一个无关的主要凭证(ANTHROPIC_API_KEY),而 SKILL.md 中从未使用过 — 这种不匹配令人可疑。
评估建议
["在提供 ANTHROPIC_API_KEY 之前,请确认为什么需要它。","安装或授予访问权限之前:"," (1) 检查本地 memory_cli 程序(位置和源代码)以查看是否实际使用 Anthropic 或其他网络服务。"," (2) 在终端手动运行示例命令以查看读取的文件和是否发生网络调用。"," (3) 检查 ~/.scienceclaw 和 ~/.scienceclaw/agent_profile.json 的内容和权限,以确保不会暴露任何敏感秘密。"," (4) 询问技能发布者为什么声明 ANTHROPIC_API_KEY — 它可能是一个元数据错误或指示隐藏的网络行为。","如果无法验证 CLI 的行为,请在隔离环境(容器或 VM)中运行它,或者将技能标记为不可信任。"]...
详细分析 ▾
用途与能力
The name/description indicate a local agent-status inspector and the required binary (python3) aligns with that. However the registry metadata declares ANTHROPIC_API_KEY as the primary credential even though nothing in the SKILL.md uses or needs an external LLM API key for the described status checks. That credential requirement is disproportionate to the stated purpose.
指令范围
SKILL.md instructs the agent to read ~/.scienceclaw/agent_profile.json, use SCIENCECLAW_DIR (defaulting to ~/scienceclaw or ~/.scienceclaw/install), and run a local python3 memory_cli with various subcommands. Those actions are consistent with querying a local ScienceClaw installation. The instructions do not reference other system paths, other environment variables, or remote endpoints. Note: the local memory_cli binary could itself reach out to networks or use credentials — the SKILL.md does not document memory_cli behavior.
安装机制
This is an instruction-only skill with no install spec and no code files; it does not write or download artifacts, which is the lowest install risk.
凭证需求
The skill metadata lists ANTHROPIC_API_KEY as the primaryEnv, but the runtime instructions never reference or require that environment variable. Requesting an external API key that is not used in the documented workflow is disproportionate and increases the risk of credential exposure or misuse unless there is an undocumented need (e.g., memory_cli internally calling Anthropic).
持久化与权限
The skill is not always-enabled, is user-invocable, and has no install steps that modify system or other skills' configuration. It does not request elevated or persistent platform privileges.
安全有层次,运行前请审查代码。

License

MIT-0

可自由使用、修改和再分发,无需署名。

运行时依赖

无特殊依赖

版本

latestv1.0.22026/3/17

从所有默认路径中删除 ~/LAMM — SCIENCECLAW_DIR 现在默认为 ~/scienceclaw

● 无害

安装命令 点击复制

官方npx clawhub@latest install scienceclaw-status
镜像加速npx clawhub@latest install scienceclaw-status --registry https://cn.clawhub-mirror.com

技能文档

检查 ScienceClaw 代理的内存、活动和健康状态。

使用场景

当用户请求以下内容时使用此技能:
  • 检查 ScienceClaw 代理正在处理什么
  • 查看最近的调查或日志条目
  • 审查代理活动统计(探索的主题、使用的工具、帖子数量)
  • 在代理内存中搜索特定主题
  • 获取 ScienceClaw 安装的健康检查

运行方式

使用 bash 调用内存 CLI。 SCIENCECLAW_DIR 默认为 ~/scienceclaw~/.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"

子命令

日志统计(默认状态视图)

python3 memory_cli journal --agent "$AGENT"

最近日志条目

python3 memory_cli journal --agent "$AGENT" --recent 10

活动调查

python3 memory_cli investigations --agent "$AGENT" --active

所有调查主题

python3 memory_cli journal --agent "$AGENT" --topics

搜索内存中的主题

python3 memory_cli graph --agent "$AGENT" --search "CRISPR"

全面统计摘要

python3 memory_cli stats --agent "$AGENT"

参数

  • --agent — 代理名称(如果不提供,则从 ~/.scienceclaw/agent_profile.json 自动解析)
  • --recent N — 显示最后 N 个日志条目
  • --active — 显示仅在进行中的调查
  • --search TERM — 在知识图中搜索一个术语
  • --topics — 列出所有曾经调查过的主题

解析代理名称

在运行之前,始终从配置文件自动解析代理名称:
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")
如果用户明确指定代理名称,则使用该名称。

工作空间上下文

如果工作空间内存(memory.md)包含一个首选代理名称,则将其用作默认 --agent 值。

运行后

向用户报告:
  • 代理名称和总日志条目数
  • 调查主题数量
  • 最近 3-5 个主题(如果可用)
  • 任何活动/正在进行的调查
  • 提供在列出的主题上运行更深入的搜索使用 scienceclaw-investigate
数据来源:ClawHub ↗ · 中文优化:龙虾技能库
OpenClaw 技能定制 / 插件定制 / 私有工作流定制

免费技能或插件可能存在安全风险,如需更匹配、更安全的方案,建议联系付费定制

了解定制服务