Model weakness memory
Skill roronoazoroshao369/vibe-coding-os/skills/core/model-weakness-memory
Vibe Coding OS — Claude/Codex/Cursor skill framework with 139 skills, 111 commands, 95 templates, 22 tracked sources, 28/28 validation gates PASS. Quality Shield, Engineering Discipline Pack, plugin marketplace.
npx -y skills add roronoazoroshao369/vibe-coding-os --skill model-weakness-memoryAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
4.8 KB, ~1.1k tokens by cl100k_base, as published. Nobody here has run it
Skill: Model Weakness Memory
Purpose
Track known failure patterns for different model types and auto-inject relevant checks before tasks. This skill builds an institutional memory of where models tend to fail — hallucinated imports, incorrect API usage, fragile error handling, off-by-one logic, missing edge cases — and uses that memory to preemptively guard against repeated mistakes.
When to use
Use when starting any coding task where the model type is known, when reviewing output from a model that has documented weaknesses, after a model-generated failure is identified and wants to be prevented from recurring, or when onboarding a new model and you want to seed initial guardrails. Triggers include "the model keeps getting X wrong", "add a check for the known model weakness", or any post-failure analysis that should feed back into prevention.
Inputs
- Model type / provider — which model generated the code (e.g.
claude-sonnet,gpt-4,llama-3,local-qwen) - Task description — what the model was asked to do
- Weakness log — the current
templates/model-weakness-log.mdor equivalent persisted log - Current diff or output — the code the model produced (optional, for post-task evaluation)
Workflow
- Load the weakness log. Read
templates/model-weakness-log.md(or the project-local copy if overridden). If no log exists, start with an empty one. - Match task to weaknesses. Scan the log for entries whose
Pattern CategoryorExamplerelates to the current task. Consider model type, task type (feature, bugfix, refactor, migration), and domain (API, database, frontend, auth, async). - Inject checks. For each matched weakness, add a specific, actionable check to the task's pre-flight checklist. Example: if the model is known to skip null-checks on database results, add "verify every DB query result is null-checked before use".
- Execute the task with the injected checks visible in the working context. Treat the checks as mandatory quality gates, not suggestions.
- Post-task evaluate. After task completion, compare the output against each injected check. Did any weakness manifest? Did the check prevent a failure?
- Update the log. If a new weakness was observed (not already logged), add an entry. If an existing weakness did not manifest this time, consider adjusting its severity or adding context. Remove entries confirmed obsolete by model updates.
Outputs
- Enriched checklist — the task's pre-flight quality checks, augmented with model-weakness-specific items
- Optional log update — new entries or adjustments to
templates/model-weakness-log.md - Post-task report — which injected checks passed, which caught issues, which were irrelevant
Failure modes
- Overfitting the log to a single incident without broader pattern confirmation
- Never pruning stale entries when models update and weaknesses are fixed
- Injecting too many checks that overwhelm the task context without prioritization
- Treating the log as definitive truth rather than a living document that needs evidence
- Failing to capture the model type, making future matching impossible
Verification checklist
- Weakness log is loaded before task execution begins
- At least one relevant weakness is matched (or explicit "no matches" noted)
- Injected checks are specific and actionable, not vague reminders
- Post-task evaluation compares output against each injected check
- New weaknesses observed during the task are logged with evidence
- Log entries include model type, pattern category, and prevention strategy
- Stale or disproven entries are flagged for review
Related skills/commands
commands/vibe-model-weakness.md— command entry point for loading weakness log and recommending checkstemplates/model-weakness-log.md— the weakness log templateskills/core/adaptive-prompt-selection/SKILL.md— complementary skill for selecting quality packsskills/core/self-review-before-response/SKILL.md— post-task self-reviewskills/core/verification-before-done/SKILL.md— mandatory verification gateskills/prompts/quality-rubric/SKILL.md— universal quality checks to compose with
Ghi chú tiếng Việt
Theo dõi các mô hình lỗi đã biết của từng loại model và tự động chèn các kiểm tra liên quan trước mỗi task. Khi model thường mắc lỗi — import giả, sử dụng API sai, xử lý lỗi kém, sai edge-case — skill này ghi lại và ngăn chặn lặp lại. Workflow: tải nhật ký → khớp task với weaknesses → thêm checks → thực thi → đánh giá sau task → cập nhật nhật ký.