Agent skill

Factory Learn

by tikalk in tikalk/adlc-team-skills

A skill your agent uses when coordinating continuous improvement loops (team-levelup + change + evals feedback + cleanup) targeting team-ai-directives — includes build-to-delete pruning and…

MITAuto-check passedAI & LLM Engineering

Install Factory Learn

skills CLI
$ npx skills add tikalk/adlc-team-skills --skill factory-learn -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install tikalk/adlc-team-skills factory-learn --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/tikalk/adlc-team-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/factory/factory-learn .claude/skills/factory-learn && rm -rf skills-src

Use ~/.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/

Facts

Skill name
factory-learn
GitHub stars
141
Token cost
~1.5k tokens
SKILL.md length
720 words
Files
1
Skills in repo
44
Repo updated
First seen
Licence
MIT

At a glance

A skill your agent uses when coordinating continuous improvement loops (team-levelup + change + evals feedback + cleanup) targeting team-ai-directives — includes build-to-delete pruning and…

  • Works in 4 steps: specify (generate phase) -> Invoke… → clarify⭐ (clarify phase) -> Invoke… → publish (build phase) -> Invoke… → …
  • Tasks that involve LLM evaluation
  • SKILL.md covers What this skill does, When to use, Lifecycle DAG & Step Resolution and Shared Executor Overrides
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Factory Learn is an agent skill from tikalk/adlc-team-skills. Use when coordinating continuous improvement loops (team-levelup + change + evals feedback + cleanup) targeting team-ai-directives — includes build-to-delete pruning and promote-to-check.

Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in AI & LLM Engineering, covering LLM evaluation. The repository describes itself as: Agent skills for the Agentic SDLC: team lifecycle (team-boot, team-learn, team-init, team-repair), software factory, evals, CDR lifecycle with confidence scoring, and… The licence is MIT.

When your agent uses it

  • Tasks that involve LLM evaluation

Example prompts

  • “/factory-learn”

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. specify (generate phase) -> Invoke team-levelup to extract candidate Context Directive Records (CDRs) and compliances from the active…
  2. clarify⭐ (clarify phase) -> Invoke team-levelup to review pending CDRs. Enforces the evals-regression gate (running the compliance goldset…
  3. publish (build phase) -> Invoke team-levelup to package accepted CDRs, index them, and compile a draft PR targeting the team-ai-directives…
  4. prune (analyze phase) -> Runs the cleanup bot over the directive store to detect and propose deprecations of superseded, contradictory, or…

What it can do on your machine

Read from SKILL.md and the folder at commit 2dbed36. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Factory Learn loads about 1.5k tokens when it runs. Until then it costs about 50 tokens; SKILL.md has 720 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~50
When it runs · the whole SKILL.md, loaded when a task matches
~1.5k

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.

Safety

Auto-check passed

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.

SKILL.md

The full file from tikalk/adlc-team-skills at commit 2dbed36, republished under its MIT licence (© tikalk). 720 words, ~1,534 tokens.

Download SKILL.mdSave it as .claude/skills/factory-learn/SKILL.md (or your agent's skills folder).
name
factory-learn
description
Use when coordinating continuous improvement loops (team-levelup + change + evals feedback + cleanup) targeting team-ai-directives — includes build-to-delete pruning and promote-to-check.
disable-model-invocation
true

factory-learn

What this skill does

factory-learn orchestrates the continuous improvement learning loop of the software factory. It coordinates individual learning-related skills (team-init, team-levelup, change-init, change-clarify, change-publish, team-repair, evals-analyze) to transition draft directives into verified, published, and minimal team context assets.

It operates as a Kind-A DAG orchestrator in alignment with the shared executor engine contract in factory-mission/references/executor.md.


When to use

  • You want to extract and compile hard-won session learnings into your team's centralized team-ai-directives repository.
  • You want to mine git commit history to capture the rationale (ChDRs) behind past reverts and hotfixes.
  • You want to run "Build to Delete" (Harness Decay checks) to prune redundant rules.

When NOT to use:

  • For product-level specification or development (use factory-product or factory-mission instead).
  • If the team directives repository is completely unconfigured (run /team-setup first).

Lifecycle DAG & Step Resolution

factory-learn implements a fixed named-skill DAG (fixed step resolution):

Session Learnings Route (default on session-end)
  1. specify (generate phase) -> Invoke team-levelup to extract candidate Context Directive Records (CDRs) and compliances from the active session.
  2. clarify⭐ (clarify phase) -> Invoke team-levelup to review pending CDRs. Enforces the evals-regression gate (running the compliance goldset as the verify sub-phase to ensure no quality degradation).
  3. publish (build phase) -> Invoke team-levelup to package accepted CDRs, index them, and compile a draft PR targeting the team-ai-directives repository.
  4. prune (analyze phase) -> Runs the cleanup bot over the directive store to detect and propose deprecations of superseded, contradictory, or stale rules. Deprecations feed back to team-levelup.
Historical Mining Route (brownfield)
  1. init (generate phase) -> Invoke change-init to mine git history and issue trackers for Change Decision Records (ChDRs).
  2. clarify⭐ (clarify phase) -> Invoke change-clarify to run interactive provenance reviews on mined claims.
  3. publish (build phase) -> Invoke change-publish to promote accepted ChDRs into docs/adlc/memory/chdr/ and regenerate indices.
Maintenance & Build-to-Delete Route (periodic)
  1. verify (verify phase) -> Run team-repair --build-to-delete. Re-runs goldset evals with rules temporarily disabled. Two questions per rule:
    • Build-to-delete: if the model passes without the rule, the rule is flagged as redundant.
    • Promote-to-check (deterministic-checks-first, EVAL-010): if a deterministic check (unit test / binary grader / pre-commit hook / lint rule / CI job) can mechanically enforce the rule, flag it as a promotion candidate — pay once for the check instead of re-injecting a fuzzy rule into every session.
  2. clarify⭐ -> Proposes the redundant rule's deprecation and the mechanical rule's promotion to team-levelup for human review. Promotions route to action P — Promote to check (team-levelup Phase 2b); once the check exists and runs in CI, the CDR is deprecated or reduced to a thin pointer. Both proposals publish as findings.
Show full SKILL.md (295 more words)Show less
Workflow Retrospective Route

Runs periodically or on-demand to analyze past runs of other factory skills (e.g. factory-mission, factory-product) and generate workflow memories:

  1. analyze (analyze phase) -> Scan completed/failed runs' shared state (.adlc/workflows/runs/<run_id>/state.json via adlc-cli workflow status) and evidence files. Identify patterns, recurring errors, or successful corrections.
    • Also sweep .adlc/drafts/{adr,pdr,chdr,cdr,evals}/ for unclarified entries (frontmatter/heading status proposed/discovered/draft); surface each as a finding (Draft ID + type + age), independent of whether session_end/file_edited hooks ever fired.
  2. clarify⭐ -> Present proposed memories (active vs tentative) to the user (in gated/hybrid modes) or auto-approve (in autonomous mode).
  3. publish (build phase) -> Write approved memories to .adlc/workflows/memory.jsonl (workspace-global). Memories carry weights and use counts; stale or counter-productive memories are automatically archived.

Shared Executor Overrides

factory-learn overrides the shared executor engine primitives as follows:

  1. Publish Target: Fixed to external-repo. Opens or updates a draft pull request on the configured team-ai-directives repository. Since the publish target is a PR on the directives repo, the comment bus operates on that PR — step outputs (decisions, findings) are published as marker comments on the directives PR.
  2. Output Types: Steps use the following output_type assignments:
    • specify/init → draft (CDR/ChDR drafts stay in .adlc/drafts/, not published to comment bus)
    • clarify⭐ → decision (accepted/rejected CDR/ChDR list published to comment bus on the directives PR)
    • publish → artifact-ref (PR URL reference published, content stays on disk)
    • prune/verify → findings (redundancy/deprecation report published to comment bus)
  3. Feedback Loop Ingestion: Automatically consumes the output of evals-analyze (when an application test fails due to specification issues, evals-analyze automatically routes to team-levelup, which triggers this orchestrator).
  4. Supervision Default: hybrid. Human gates are hard-enforced at clarify⭐ (approval of CDR/ChDR entries) and at final PR creation.
  5. Pre-flight Check: Verifies that team-levelup, change-*, and team-* skills are installed, and that the directives repo path is set in .adlc/init-options.json.

© tikalk, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/factory/factory-learn of tikalk/adlc-team-skills.

Open the folder on GitHubat commit 2dbed36

Compare with similar skills

Factory Learn 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.

Factory Learn compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Factory Learn this skilltikalk/adlc-team-skills141—~1.5kAutomated safety check: PassMIT
Azure AI Projects Python SDKmicrosoft/skills3.1k6 repos~2.8kAutomated safety check: PassMIT
AI Project Copilotsun461941-hub/ai-project-copilot100—~3kAutomated safety check: PassMIT
Eee Dataset Conversionevaleval/every_eval_ever133—~2.5kAutomated safety check: PassMIT
Spec Optimizeleo-kuang-ai/spec-first107—~13kAutomated safety check: PassMIT
Evals Contextzgsm-ai/costrict4.4k1 repos~1.9kAutomated safety check: PassApache-2.0

Similar skills

  • Official

    Reference for building on Microsoft Foundry with the azure-ai-projects Python SDK: project clients, versioned agents, evaluations, connections, datasets and indexes.

    3.1k GitHub starsUsed in 6 repos~2.8k tokens
    AI & LLM EngineeringAuto-check passed
  • AI Project Copilot

    sun461941-hub/ai-project-copilot

    A skill your agent uses to turn an AI idea or existing repository into a credible open-source product and to run evidence-first repository engineering across codebase discovery, context-efficient…

    100 GitHub stars~3k tokensUpdated 1 mo ago
    AI & LLM EngineeringAuto-check passed
  • Eee Dataset Conversion

    evaleval/every_eval_ever

    Convert an evaluation dataset or leaderboard into the Every Eval Ever (EEE) schema — aggregate .json logs (eval.schema.json) and optional instance samples.jsonl sidecars…

    133 GitHub stars~2.5k tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • Spec Optimize

    leo-kuang-ai/spec-first

    Run metric-driven iterative optimization loops. An agent skill from leo-kuang-ai/spec-first.

    107 GitHub stars~13k tokensUpdated 14 days ago
    AI & LLM EngineeringAuto-check passed
  • Evals Context

    zgsm-ai/costrict

    Provides context about the CoStrict evals system structure in this monorepo.

    4.4k GitHub starsUsed in 1 repo~1.9k tokens
    AI & LLM EngineeringAuto-check passed
  • Fine-Tuning Expert

    Jeffallan/claude-skills

    Guides LLM fine-tuning with LoRA and QLoRA through Hugging Face PEFT, from dataset validation and training checks to adapter merging, quantization and deployment.

    12k GitHub starsUsed in 1 repo~1.7k tokens
    AI & LLM EngineeringAuto-check passed

More from tikalk/adlc-team-skills

All 44 skills in this repo
  • Workspace

    tikalk/adlc-team-skills

    A skill your agent uses when coordinating a multi-repo workspace — init the .adlc/ structure, discover and link child repos as submodules, or audit workspace health (branch, dirty, unpushed, SHA…

    141 GitHub starsUsed in 1 repo~3.7k tokens
    Auto-check passed
  • Team Boot

    tikalk/adlc-team-skills

    A skill your agent uses when a session starts or resumes after compaction (auto via the sessionstart and sessioncompact event hooks) and the team AI directives context — constitution, CDR index…

    141 GitHub stars~2.2k tokensUpdated 2 days ago
    Auto-check passed
  • Architect Clarify

    tikalk/adlc-team-skills

    A skill your agent uses when ADRs need review, gaps need filling, or ADR status must be approved as Accepted before architecture generation.

    141 GitHub stars~4.7k tokensUpdated 2 days ago
    Auto-check passed
  • Change Clarify

    tikalk/adlc-team-skills

    A skill your agent uses when reviewing, accepting, rejecting, or deferring ChDRs mined by change-init, validating inferred decisions against their git and issue evidence before promotion to project…

    141 GitHub stars~2.9k tokensUpdated 2 days ago
    Auto-check passed
  • Change Init

    tikalk/adlc-team-skills

    A skill your agent uses when you want guided mining of git history, structured change-story clustering, or comprehensive rationale recovery before documenting.

    141 GitHub stars~3.5k tokensUpdated 2 days ago
    Auto-check passed
  • Change Publish

    tikalk/adlc-team-skills

    A skill your agent uses when accepted ChDRs are ready for promotion from drafts to project memory at docs/adlc/memory/chdr/ and the boot-facing chdr.md index needs regenerating.

    141 GitHub stars~2k tokensUpdated 2 days ago
    Auto-check passed

Questions about Factory Learn

What does Factory Learn do?

A skill your agent uses when coordinating continuous improvement loops (team-levelup + change + evals feedback + cleanup) targeting team-ai-directives — includes build-to-delete pruning and…. Factory Learn is an agent skill from tikalk/adlc-team-skills. Use when coordinating continuous improvement loops (team-levelup + change + evals feedback + cleanup) targeting team-ai-directives — includes build-to-delete pruning and promote-to-check.

When should I use Factory Learn?

Factory Learn fits situations like: tasks that involve LLM evaluation.

How do I install Factory Learn in Claude Code?

Run `npx skills add tikalk/adlc-team-skills --skill factory-learn -a claude-code`. Or copy the skill folder (skills/factory/factory-learn in tikalk/adlc-team-skills) into .claude/skills/factory-learn in your project. Claude Code loads it when a task matches its description.

How do I install Factory Learn in Codex?

Run `npx skills add tikalk/adlc-team-skills --skill factory-learn -a codex`. Or copy the skill folder (skills/factory/factory-learn in tikalk/adlc-team-skills) into .agents/skills/factory-learn in your project. Codex loads it when a task matches its description.

Can I use Factory Learn in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add tikalk/adlc-team-skills --skill factory-learn -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/factory-learn, .gemini/skills/factory-learn, .github/skills/factory-learn and .opencode/skills/factory-learn in your project.

What does Factory Learn need to run?

SKILL.md names no scripts, command-line tools or credentials: Factory Learn is instructions for the agent only.

Does Factory Learn access the network?

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.

Is Factory Learn safe to install?

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.

What licence does Factory Learn use?

Factory Learn is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Factory Learn use?

About 1.5k tokens (SKILL.md is roughly 6.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Factory Learn?

Skills that share tags, products or a category with Factory Learn: Azure AI Projects Python SDK (microsoft/skills, 3.1k stars), AI Project Copilot (sun461941-hub/ai-project-copilot, 100 stars), Eee Dataset Conversion (evaleval/every_eval_ever, 133 stars) and Spec Optimize (leo-kuang-ai/spec-first, 107 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Factory Learn?

tikalk (a GitHub organization) maintains it in tikalk/adlc-team-skills, which has 141 GitHub stars. The repository holds 44 skills in this directory. The repository was last updated on October 6, 2026.

Source: tikalk/adlc-team-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.