accounts
FreeManage multiple Claude Code accounts: add, list, check, launch, and install shell aliases for 10+ isolated CLAUDE_CONFIG_DIR profiles.
The English summary is being prepared. Showing the original description.
Data analysis and reference enrichment.
The English summary is being prepared. Showing the original description.
See how to installReview the instructions the agent will receive before you install.
Two modes. Match the request to a section.
| Signal | Mode |
|---|---|
| Analyze data, CSV, metrics, A/B test, trend, KPI, funnel, distribution | A. Data Analysis |
| Enrich references, generate references, decompose skill, improve depth | B. Reference Enrichment |
Every analysis starts with the decision it supports, works backward to evidence required, then touches the data. Analysis without a decision is arithmetic.
Establish what decision this analysis supports.
analysis-frame.md.Gate: Decision identified, options enumerated, evidence requirements saved.
Lock metric definitions before loading data. Defining after seeing data enables cherry-picking.
For each metric: name, exact formula (numerator/denominator), population (included/excluded), time window, segments. For comparisons: define groups and verify fairness.
Save metric-definitions.md. Definitions are locked once Phase 3 starts. If data reveals a definition is unworkable, return here, update, and document the change.
Gate: All metrics defined with formulas and populations.
Load data. Assess quality. No interpretation.
import pandas; fall back to csv.DictReader + statistics.references/rigor-gates.md Gate 1):| Check | Minimum | If failed |
|---|---|---|
| Sample fraction | Report N of M | Warn if <5% coverage |
| Time window | No gaps >10% | Adjust or note limitation |
| Segment size | 30+ per segment | Merge small segments or exclude |
| Missing rate | <20% per critical column | Impute with disclosure or exclude |
data-quality-report.md.Gate: Data loaded, quality assessed, failures documented as limitations.
Compute metrics per Phase 2 definitions. Report confidence intervals, not point estimates.
references/rigor-gates.md Gate 2).analysis-results.md.Gate: All metrics computed. Rigor gates applied.
Lead with insights. Return to the decision.
analysis-report.md (load references/output-templates.md for analysis-type templates).Gate: Report saved with headline, limitations, recommendation tied to decision.
| Error | Recovery |
|---|---|
| No decision context | Ask "What will you do differently?" Switch to Exploratory if none. |
| Parse failure | Try utf-8, latin-1, utf-8-sig. Detect delimiter. Max 3 attempts. |
| Insufficient segment data (<30) | Merge small segments, remove segmentation, or accept with disclosure. |
| Metrics changed after seeing data | Return to Phase 2, document changes. Max 2 revisions. |
| Wide CI on primary metric | State: "Data does not support a confident decision." Suggest more data. |
Enrich agent/skill reference files from Level 0-2 to Level 3+, or decompose bloated body files by extracting domain content into references.
--decompose or "extract references")Extract domain-heavy content from a bloated SKILL.md into reference files.
python3 scripts/detect-decomposition-targets.py --skill {name} (or --agent).cp {path} /tmp/decomp-before-{name}.md.python3 scripts/validate-decomposition.py --before /tmp/decomp-before-{name}.md --after {path} --refs {refs_dir}/.python3 scripts/validate-references.py --skill {name}.Load references/decomposition-prompt.md for the autonomous decomposition prompts.
Gate: Validation passes. Body reduced. All extracted content in references.
python3 scripts/gap-analyzer.py --agent {name} (or --skill).Gate: At least one gap identified. If Level 3 already, stop.
For each gap: identify version-specific patterns, failure modes with detection commands (grep -rn "pattern"), error-fix mappings, project conventions. Dispatch up to 5 parallel research agents per sub-domain.
Gate: Each gap has 10+ concrete findings (version numbers, function names, grep patterns). Generic advice does not count.
Create one reference file per sub-domain (max 500 lines) following references/reference-file-template.md. Include: overview, pattern table with version ranges, failure mode table with detection commands, error-fix mappings.
Do-pairing rule: every failure mode needs a "Do instead" counterpart. No bare negative blocks.
Validate: python3 scripts/validate-references.py --agent {name} and --check-do-framing. Both must exit 0. Then run condense on each file.
Gate: Each file 80-500 lines. Both validations pass.
Tier 1: python3 scripts/audit-reference-depth.py --agent {name} --json. Level must be 3.
Tier 2: Apply references/quality-rubric.md. For each pattern: detection command present? Would a reviewer using only this file produce Level 3 output?
Gate: Both tiers pass. Max 2 loops per gap before flagging for manual review.
python3 scripts/validate-references.py --agent {name} and python3 -m pytest scripts/tests/test_reference_loading.py -k {name} -v.Gate: Validation passes. Report level change (was N, now M) and new file list.
| Error | Recovery |
|---|---|
| Gap analyzer fails | Check both agents/ and skills/ directories. |
| Phase 2 gate fails (<10 findings) | Domain may be narrow. Flag for manual enrichment. |
| Phase 4 still below Level 3 | Files too generic. Target Phase 2 at weakest section. |
| Decomposition validation fails | Restore from snapshot. Check for partial extractions. |
All references are >100 lines of domain-specific content. Load as directed by sections above.
| Signal | Reference | Lines |
|---|---|---|
| Phase 3-4: statistical gates, sample adequacy, fairness | references/rigor-gates.md | 378 |
| Phase 5: report templates (A/B, trend, distribution, cohort) | references/output-templates.md | 489 |
| Failure mode recognition (p-hacking, survivorship, Simpson's) | references/preferred-patterns.md | 240 |
| Classifying reference depth Level 0-3 | references/quality-rubric.md | 173 |
| Writing new reference files | references/reference-file-template.md | 166 |
| Running headless decomposition | references/decomposition-prompt.md | 205 |
| Running headless enrichment | references/enrichment-prompt.md | 117 |
No reviews yet. Tell others what you thought.
No login needed. Share how it worked for you, ask a question, or note where it did not run.
No comments yet. Be the first to write one.
Manage multiple Claude Code accounts: add, list, check, launch, and install shell aliases for 10+ isolated CLAUDE_CONFIG_DIR profiles.
The English summary is being prepared. Showing the original description.
Improve architecture across modules by deepening interfaces.
The English summary is being prepared. Showing the original description.
Assessment: read-only inspection, codebase overview, value analysis, health checks, ADR consultation, decision analysis, multi-perspective critique.
The English summary is being prepared. Showing the original description.
Background memory consolidation — overnight review, merge, and injection payload for memory files.
The English summary is being prepared. Showing the original description.
Jev-driven browser automation: Jev picks operations, programs execute, a text model writes field values only when Jev cannot pick one from the goal.
The English summary is being prepared. Showing the original description.
Write, compose, integrate, and improve programs that call Jev, TypeSafe's System One judgment model.
The English summary is being prepared. Showing the original description.