Learning to Learn (OpenMAIC)
THU-MAIC/OpenMAIC
A Chinese-language skill that embeds learning strategies like retrieval practice and self-explanation as a parallel goal inside an OpenMAIC subject lesson, without making study skills the topic.
Record analyst mistakes, fixes, and reusable learnings so future analyses never repeat an error.
$ npx skills add ai-analyst-lab/ai-analyst --skill log-correction -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install ai-analyst-lab/ai-analyst log-correction --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/ai-analyst-lab/ai-analyst.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/log-correction .claude/skills/log-correction && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "log-correction" agent skill from https://github.com/ai-analyst-lab/ai-analyst/tree/main/.claude/skills/log-correction into .claude/skills/log-correction/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "log-correction", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/ai-analyst-lab/ai-analyst/tree/main/.claude/skills/log-correctionType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add ai-analyst-lab/ai-analyst --skill log-correction -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install ai-analyst-lab/ai-analyst log-correction --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ai-analyst-lab/ai-analyst.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/log-correction .agents/skills/log-correction && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "log-correction" agent skill from https://github.com/ai-analyst-lab/ai-analyst/tree/main/.claude/skills/log-correction into .agents/skills/log-correction/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "log-correction", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add ai-analyst-lab/ai-analyst --skill log-correction -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install ai-analyst-lab/ai-analyst log-correction --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ai-analyst-lab/ai-analyst.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/log-correction .cursor/skills/log-correction && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "log-correction" agent skill from https://github.com/ai-analyst-lab/ai-analyst/tree/main/.claude/skills/log-correction into .cursor/skills/log-correction/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "log-correction", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/ai-analyst-lab/ai-analyst.git --path .claude/skills/log-correction--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add ai-analyst-lab/ai-analyst --skill log-correction -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install ai-analyst-lab/ai-analyst log-correction --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ai-analyst-lab/ai-analyst.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/log-correction .gemini/skills/log-correction && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "log-correction" agent skill from https://github.com/ai-analyst-lab/ai-analyst/tree/main/.claude/skills/log-correction into .gemini/skills/log-correction/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "log-correction", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install ai-analyst-lab/ai-analyst log-correctionInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add ai-analyst-lab/ai-analyst --skill log-correction -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/ai-analyst-lab/ai-analyst.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/log-correction .github/skills/log-correction && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "log-correction" agent skill from https://github.com/ai-analyst-lab/ai-analyst/tree/main/.claude/skills/log-correction into .github/skills/log-correction/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "log-correction", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add ai-analyst-lab/ai-analyst --skill log-correction -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install ai-analyst-lab/ai-analyst log-correction --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ai-analyst-lab/ai-analyst.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/log-correction .opencode/skills/log-correction && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "log-correction" agent skill from https://github.com/ai-analyst-lab/ai-analyst/tree/main/.claude/skills/log-correction into .opencode/skills/log-correction/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "log-correction", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
log-correctionRecord analyst mistakes, fixes, and reusable learnings so future analyses never repeat an error.
Log Correction is an agent skill from ai-analyst-lab/ai-analyst. Record analyst mistakes, fixes, and reusable learnings so future analyses never repeat an error. Fires automatically when the user corrects work ("actually it's Y", "that's wrong") or teaches a rule ("always use X", "never include test users", "remember that our fiscal year starts in February"), and manually on "log a correction", "save this mistake", "record this lesson". Writes the .knowledge store per docs/KNOWLEDGE.md.
Its SKILL.md is about 2.2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
The repository describes itself as: AI Product Analyst — Claude Code-powered data analysis toolkit. The licence is MIT.
5 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 52c0744. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are yaml).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Log Correction loads about 2.2k tokens when it runs. Until then it costs about 110 tokens; SKILL.md has 1,085 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from ai-analyst-lab/ai-analyst at commit 52c0744, republished under its MIT licence (© ai-analyst-lab). 1,085 words, ~2,227 tokens.
.claude/skills/log-correction/SKILL.md (or your agent's skills folder).Record analyst mistakes, their fixes, and reusable learnings so future analyses
learn from past errors. Runs in two modes against the same store (defined in
docs/KNOWLEDGE.md): auto mode detects corrections and learnings in the
user's messages without being asked, and manual mode handles explicit
"log a correction" requests with full detail.
Watch every user message for these signals. When one fires, capture it immediately; the user never has to ask.
Correction signals (something you produced was wrong):
Learning signals (a reusable methodology or fact):
If both match, treat it as a correction. If neither matches, do nothing and say nothing about it.
On a correction signal: run Steps 1-5 below, but never interrogate the user. Infer severity, category, dataset, and tables from context; leave fields you cannot infer as null. Acknowledge in one line ("Got it, logged as CORR-008.") and then immediately continue with the user's underlying request; logging is never the whole response.
On a learning signal: append a bullet to .knowledge/learnings/index.md
under the closest category heading (Data Patterns, Query Techniques, Business
Context, Stakeholder Preferences, Visualization Insights, Methodology Notes),
formatted - {concise learning} (source: user feedback, {YYYY-MM-DD}).
Acknowledge in one line ("Noted for future analyses.") and continue with the
user's request.
Auto-mode rules:
Extract from conversation context or ask the user:
critical (wrong numbers shared) | high (changes conclusions) | medium (directionally correct) | low (no impact)If any required field is unclear, ask the user. Do not guess severity.
IMPORTANT: Assign exactly ONE category from the following list. These are the only valid categories — do not create custom categories.
| Category | Description | Examples |
|---|---|---|
sql | Wrong query — bad join, missing filter, incorrect aggregation, wrong GROUP BY, missing WHERE clause | INNER JOIN instead of LEFT JOIN; forgot WHERE clause to filter test users; COUNT(*) instead of COUNT(DISTINCT); aggregation before filtering |
metric | Wrong metric definition — numerator/denominator error, wrong time window, wrong column | Used revenue_usd instead of order_total_usd for GMV; calculated DAU as total events instead of distinct users; wrong date range for YoY comparison |
schema | Wrong column or table reference — stale schema, misnamed field, wrong table | Referenced old_column_name after schema migration; queried staging.users instead of prod.users; assumed column existed but it doesn't |
logic | Flawed reasoning — Simpson's paradox missed, survivorship bias, wrong comparison | Compared current users to all-time users (survivorship bias); aggregated across segments hiding a reversal; compared apples to oranges |
other | Anything that does not fit the above | Data interpretation error, visualization mistake, wrong stakeholder audience |
If the user mentions a category not in this list (e.g., "filter_missing", "metric_definition"), map it to the closest match from the allowed categories above and confirm with the user.
.knowledge/corrections/index.yaml (treat a missing or corrupt file per Rule 3: recreate from scratch)last_correction_id is null, use CORR-001; otherwise
parse the numeric suffix, increment, and zero-pad to 3 digits- id: "CORR-{N}"
date: "{YYYY-MM-DD}"
severity: "{severity}"
category: "{category}"
dataset: "{dataset_name}"
tables: ["{table1}", "{table2}"]
description: "{what was wrong}"
fix: "{what the correct approach is}"
sql_before: "{original query, if applicable, else null}"
sql_after: "{corrected query, if applicable, else null}"
prevented_by: "{which validation layer should have caught this}"The prevented_by field should reference one of these validation layers:
structural — schema checks, PK validation, null checks, row count validationlogical — aggregation consistency, trend direction, progression rates < 100%business-rules — metric plausibility, known data quality rules, domain constraintsSimpson's check — segment-first analysis to detect reversalssource tie-out — pandas vs DuckDB comparison on foundational metricsExamples of prevented_by:
"logical (progression rates should never exceed 100%)""business-rules (check for test account filtering in conversion metrics)""structural (column validation against schema)".knowledge/corrections/log.yaml (missing or corrupt: recreate per Rule 3)corrections list.knowledge/corrections/index.yaml (already loaded in Step 3)total_correctionsby_severity.{severity} counterby_category.{category} (create the key if it does not exist)last_correction_id to the new IDlast_updated to today's dateReport to the user:
Correction logged: {id}
Severity: {severity} | Category: {category}
Description: {description}
Fix: {fix}
Future analyses will check for this pattern during validation.log.yaml or index.yaml is missing or corrupt, create from scratch
with schema_version 1sql_before/sql_after should be trimmed to the relevant
clause, not the entire multi-hundred-line queryprevented_by should reference a specific validation layer from the list
in Step 3. Be specific about what check should have caught this.sql_before and sql_after to nulldataset to "unknown" and note in descriptionsql category with description noting the missing filter.© ai-analyst-lab, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .claude/skills/log-correction of ai-analyst-lab/ai-analyst.
Open the folder on GitHubat commit 52c0744
Log Correction next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Log Correction this skillai-analyst-lab/ai-analyst | 304 | — | ~2.2k | Automated safety check: Pass | MIT | |
| Learning to Learn (OpenMAIC)THU-MAIC/OpenMAIC | 40k | — | ~502 | Automated safety check: Pass | MIT | |
| Caveman Learn Token FixesJuliusBrussee/caveman | 110k | — | ~2.8k | Automated safety check: Pass | Apache-2.0 | |
| Ss Log MistakeSerial-Studio/Serial-Studio | 7.2k | — | ~947 | Automated safety check: Pass | Custom licence | |
| Project Learnings Managergarrytan/gstack | 136k | — | ~8.2k | Automated safety check: Notes | MIT | |
| Fix Logcloudposse/atmos | 1.4k | — | ~685 | Automated safety check: Pass | Apache-2.0 |
THU-MAIC/OpenMAIC
A Chinese-language skill that embeds learning strategies like retrieval practice and self-explanation as a parallel goal inside an OpenMAIC subject lesson, without making study skills the topic.
JuliusBrussee/caveman
Acts on a Caveman learn report: reviews ranked token sinks, applies cost-lowering edits one at a time with your consent, and reports what each fix returned.
Serial-Studio/Serial-Studio
Append a row to Serial Studio's mistakes ledger (doc/claude/common-mistakes.md) for a defect just caught, and decide whether the class can be made mechanical.
garrytan/gstack
Lets you review, search, prune and export the learnings gstack has collected across sessions, and surfaces them when a past fix or pattern comes up.
cloudposse/atmos
A skill your agent uses when implementing, finishing, documenting, or reviewing a fix, repair, remediation, bug fix, debug-and-fix task, workflow fix, infrastructure fix, or any change that should…
pytorch/pytorch
Fix bugs reported in PyTorch GitHub issues by reproducing, root-causing, and implementing a fix in the local working tree.
ai-analyst-lab/ai-analyst
Never present a metric or number in isolation; anchor every number to a comparison (prior period, benchmark, or another segment) or state that none is available.
ai-analyst-lab/ai-analyst
Retrieve proven SQL patterns, table cheatsheets, and join patterns from .knowledge/query-archaeology/ so past work gets reused.
ai-analyst-lab/ai-analyst
Save completed analyses to the knowledge system's analysis archive for future reference.
ai-analyst-lab/ai-analyst
Verify Google Workspace MCP authentication at the start of any session that needs Google APIs (Docs, Slides, Drive).
ai-analyst-lab/ai-analyst
Causal inference toolkit for when experiments are not possible: estimate treatment effects from observational data with assumption checks and mandatory caveats.
ai-analyst-lab/ai-analyst
Standardized workflow for uploading local chart PNGs to Google Drive and making them available for insertion into Google Docs and Slides.
Record analyst mistakes, fixes, and reusable learnings so future analyses never repeat an error. Log Correction is an agent skill from ai-analyst-lab/ai-analyst. Record analyst mistakes, fixes, and reusable learnings so future analyses never repeat an error.
Log Correction fits situations like: corrects work (actually its Y; teaches a rule (always use X; never include test users; remember that our fiscal year starts in February).
Run `npx skills add ai-analyst-lab/ai-analyst --skill log-correction -a claude-code`. Or copy the skill folder (.claude/skills/log-correction in ai-analyst-lab/ai-analyst) into .claude/skills/log-correction in your project. Claude Code loads it when a task matches its description.
Run `npx skills add ai-analyst-lab/ai-analyst --skill log-correction -a codex`. Or copy the skill folder (.claude/skills/log-correction in ai-analyst-lab/ai-analyst) into .agents/skills/log-correction in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ai-analyst-lab/ai-analyst --skill log-correction -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/log-correction, .gemini/skills/log-correction, .github/skills/log-correction and .opencode/skills/log-correction in your project.
SKILL.md names no scripts, command-line tools or credentials: Log Correction is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Log Correction is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.2k tokens (SKILL.md is roughly 8.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Log Correction: Learning to Learn (OpenMAIC) (THU-MAIC/OpenMAIC, 40k stars), Caveman Learn Token Fixes (JuliusBrussee/caveman, 110k stars), Ss Log Mistake (Serial-Studio/Serial-Studio, 7.2k stars) and Project Learnings Manager (garrytan/gstack, 136k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
ai-analyst-lab (a GitHub organization) maintains it in ai-analyst-lab/ai-analyst, which has 304 GitHub stars. The repository holds 43 skills in this directory. The repository was last updated on September 30, 2026.
Source: ai-analyst-lab/ai-analyst on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.