metacognition

Route requests to sub-skills for autonomous execution thresholds and memory optimization.

6|1|Updated May 11, 2026
One-click install
npx skills add https://github.com/yakeworld/Synthos --skill metacognition-yakeworld
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: metacognition
Source: https://github.com/yakeworld/Synthos/tree/main/skills/extended/external-automation/automation-skills/metacognition
Command: npx skills add https://github.com/yakeworld/Synthos --skill metacognition-yakeworld

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve? AI agents often over-ask for confirmation on obvious tasks, stall multi-step workflows waiting for approval, and let their memory stores bloat with stale or duplicated entries. This Skill acts as a parent router that directs incoming requests to two specialized sub-skills: one that decides when to act autonomously based on confidence thresholds, and one that keeps the agent's memory system clean and consolidated. ## Core Features & Use Cases - Autonomous Execution Threshold: Computes a dynamic confidence score from user input signals (sentence type, signal words, history) and applies a Predict-Judge-Act loop — execute silently at >=80% confidence, present options with predictions at 60-80%, and always confirm red-line actions like irreversible deletions. - Memory Optimization System: Offloads long tool outputs (>10KB or 50 lines) to context reference files with Mermaid summaries, runs FSRS-based memory health grading via a daily cron script, enforces tiered cleanup rules at 85%/90%/95% memory usage, and deduplicates memory against a fact store. - Use Case: A user says "continue" mid-pipeline. The router dispatches to the autonomous-execution-threshold sub-skill, which computes 0.95 confidence, executes the next pipeline step without asking, and appends a reasoning chain — while the memory sub-skill's cron job consolidates memory entries overnight. ## Quick Start Ask the agent to evaluate whether the current task meets the autonomous execution threshold, or request a memory consolidation and cleanup report for the current session.

Frequently Asked Questions about metacognition

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I make an AI agent execute tasks without asking for confirmation?

Use a confidence threshold policy: compute a dynamic confidence score from the user's message (signal words, sentence type, history), then execute directly when confidence is 80% or higher. The autonomous-execution-threshold sub-skill implements this Predict-Judge-Act loop with a threshold matrix.

How does the dynamic confidence score calculation work?

It starts from a 0.80 baseline, adds averaged signal-word weights (affirmative +0.10, command +0.15, hesitation -0.10), applies sentence-class corrections (imperative +0.10, question -0.15), subtracts 0.15 for matched past corrections, and clamps the result to [0.1, 0.99].

When does the agent still require user confirmation?

Red-line actions always require confirmation regardless of confidence: deleting unrecoverable data, changing core philosophy or constitution, spending money, modifying user environment, and public publishing. Red-line checks run before threshold checks.

How do I prevent AI agent memory from filling up?

Apply tiered cleanup rules: above 85% usage trigger active cleanup, above 90% clean and compress, above 95% force-compress below 70%. The memory-optimization-system sub-skill also grades entries with FSRS retrievability and removes entries never accessed for over 14 days.

Why does memory remove silently fail with no error?

Exact string matching fails when stored entries contain hidden Unicode characters like zero-width spaces or arrow variants. Use a short unique ASCII prefix (3-5 characters) as the match key, then verify the capacity number actually changed after removal.

Can long tool outputs be handled without bloating the context window?

Yes. Outputs over 10KB or 50 lines are saved to context_refs files and replaced with a Mermaid summary plus a reference path. Outputs over 50KB are stored with only the file path shown in the reply.