ck:autoresearch

Automates iterative optimization of measurable codebase metrics using Git history and regression checks.

1|Updated Jun 16, 2026
One-click install
npx skills add https://github.com/TNHoang2708/Gym_Ver2 --skill ck-autoresearch-tnhoang2708
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ck:autoresearch
Source: https://github.com/TNHoang2708/Gym_Ver2/tree/main/.claude/skills/ck-autoresearch
Command: npx skills add https://github.com/TNHoang2708/Gym_Ver2 --skill ck-autoresearch-tnhoang2708

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill addresses the challenge of improving measurable metrics through an autonomous iterative optimization loop, reducing manual intervention and enabling code optimization at scale.

Core Features & Use Cases

  • Autonomous Iteration: Executes a loop of N iterations against a mechanical metric, learning from git history and automatically keeping or discarding changes.
  • Use Case: Aim to increase test coverage in your codebase. The Skill will run N iterations, learning from previous experiments and applying changes to improve the metric.

Quick Start

/ck:autoresearch Goal: Increase test coverage in src/utils from ~60% to 80% Scope: src/utils//*.ts, tests/utils//*.test.ts Verify: npx jest tests/utils --coverage --coverageReporters=json-summary 2>/dev/null | node -e "const d=require('./coverage-summary.json');console.log(d.total.lines.pct)" Guard: npx tsc --noEmit && npx jest --passWithNoTests Iterations: 15 Direction: higher

Frequently Asked Questions about ck:autoresearch

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

FAQPage Schema
How do I automate test coverage improvement in my codebase?

Automate test coverage improvement by running an autonomous iterative optimization loop that executes N iterations, automatically keeping or discarding code changes based on verification results.

What is autonomous iterative optimization for codebase metrics?

Autonomous iterative optimization automates experimentation and improvement in codebase metrics like test coverage, performance, and bundle size by learning from git history to refine code changes.

Do I need a git repository to run autonomous code optimization loops?

Yes, a git repository is required for autonomous code optimization loops because the iteration process learns from git history and automatically keeps or discards experimental changes.

How do I configure regression checks for automated code optimization?

Configure regression checks by specifying a guard command in your configuration, such as running TypeScript type checking and Jest tests, to ensure no regressions occur during the optimization iterations.

Can I use autonomous optimization to reduce bundle size?

Yes, autonomous optimization supports reducing bundle size because the iterative loop is designed to target and improve measurable codebase metrics including test coverage, performance, and bundle size.

What are the limitations of autonomous iterative code optimization?

Limitations include the requirement for specific metric verification configuration, a git repository, and regression checks, making it unsuitable for codebases lacking measurable mechanical metrics.