← Back to Skills Marketplace
Agent Metacognition
by
yuyonghao-123
· GitHub ↗
· v0.1.0
· MIT-0
171
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install yuyonghao-agent-metacognition
Description
Enables agents to self-monitor execution, reflect on tasks, analyze errors, and adjust learning strategies through metacognitive processes.
Usage Guidance
This package appears to be a self-contained, in-process metacognition library (monitoring, reflection, experience store) and does not request secrets or perform network calls. Before installing: (1) run it in a sandboxed/test agent to confirm behavior; (2) verify the example usage is adapted to your agent (the SKILL.md references an 'agent' object that must be provided by your environment); (3) note that experiences and reflections are stored in memory (no persistence) so data is ephemeral unless you modify the code; (4) review the full source if you plan to use it in production—look for any future changes that might add I/O, network, or credential access. The package author/source is listed as unknown, so use usual caution when running third-party code.
Capability Analysis
Type: OpenClaw Skill
Name: yuyonghao-agent-metacognition
Version: 0.1.0
The skill bundle implements a metacognition system for tracking agent performance, including self-monitoring and reflection logic. The code (src/reflection.js, src/self-monitor.js) operates entirely in-memory, using standard Node.js patterns to record task outcomes, calculate confidence scores, and identify performance patterns without any external network calls, file system access, or sensitive data exposure.
Capability Assessment
Purpose & Capability
Name and description (agent metacognition / self-monitoring and reflection) align with the shipped JS modules (SelfMonitor, ReflectionEngine, ExperienceStore). No unrelated binaries or credentials are requested.
Instruction Scope
SKILL.md shows how to require and use the library and does not instruct the agent to read files, env vars, or contact external endpoints. Minor note: examples reference an external 'agent' variable (agent.process(task)) that is assumed to exist in the caller environment — ensure callers provide appropriate context.
Install Mechanism
No install spec in registry; SKILL.md suggests running npm install which is consistent with the included package.json. package.json has no external dependencies and there are no downloads or archive extracts, so installation risk is low.
Credentials
The skill declares no required environment variables, no credentials, and the code does not access process.env or external config. All in-memory data structures are local to the process.
Persistence & Privilege
Registry flags are default (always:false, agent invocation allowed). The code keeps data in memory (ExperienceStore, sessions) and does not modify other skills, system settings, or persist data to disk or external services.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install yuyonghao-agent-metacognition - After installation, invoke the skill by name or use
/yuyonghao-agent-metacognition - Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.0
Initial release of Agent Metacognition.
- Enables agents to self-monitor execution, track decision processes, and assess confidence.
- Introduces post-execution reflection, error analysis, and experience accumulation.
- Provides a simple API for monitoring, reflection, and state retrieval.
- Installation and usage instructions included.
Metadata
Frequently Asked Questions
What is Agent Metacognition?
Enables agents to self-monitor execution, reflect on tasks, analyze errors, and adjust learning strategies through metacognitive processes. It is an AI Agent Skill for Claude Code / OpenClaw, with 171 downloads so far.
How do I install Agent Metacognition?
Run "/install yuyonghao-agent-metacognition" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Agent Metacognition free?
Yes, Agent Metacognition is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Agent Metacognition support?
Agent Metacognition is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Agent Metacognition?
It is built and maintained by yuyonghao-123 (@yuyonghao-123); the current version is v0.1.0.
More Skills