ctx2skill

Extract reusable Markdown skills from documents via a multi-agent self-play loop.

3|Updated May 23, 2026
One-click install
npx skills add https://github.com/eluckydog/Ctx2Skill- --skill ctx2skill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ctx2skill
Source: https://github.com/eluckydog/Ctx2Skill-/tree/main
Command: npx skills add https://github.com/eluckydog/Ctx2Skill- --skill ctx2skill

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Ctx2Skill automatically discovers, refines, and selects context-specific skills from complex documents using a self-evolving multi-agent loop, eliminating the need for manual annotation or external feedback.

Core Features & Use Cases

  • Self-play loop with five agent roles (Challenger, Reasoner, Judge, Proposer, Generator) to extract reusable context knowledge.
  • Cross-Time Replay to identify robust skills that generalize across tasks and time.
  • Markdown-form output that can be prepended to system prompts during inference, enabling zero or minimal downtime deployment.
  • Command-line and Python API access for easy integration into existing LLM workflows.

Quick Start

Run the module with your context text and an OpenAI-compatible API, then feed the produced skill set into your next inference task.

Frequently Asked Questions about ctx2skill

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

FAQPage Schema
How do I extract reusable skills from complex documents without manual annotation?

You can extract reusable skills from complex documents without manual annotation by using a self-play multi-agent loop. This approach autonomously discovers and refines context-specific knowledge through a cross-time replay mechanism, outputting a reusable Markdown skill set.

What is self-play multi-agent skill discovery for LLM workflows?

Self-play multi-agent skill discovery is an unsupervised extraction process using five agent roles—Challenger, Reasoner, Judge, Proposer, and Generator. These roles iteratively interact to extract robust context knowledge that generalizes across tasks without external feedback.

How do I prepend extracted context skills to system prompts during inference?

You prepend extracted context skills to system prompts by generating a self-contained Markdown document during training. This skill Markdown is then prepended to your system prompts at inference time, enhancing model performance without modifying underlying models.

Can I use Python APIs to automate context skill extraction?

Yes, you can use Python APIs to automate context skill extraction. The system provides both command-line and Python API access, allowing easy integration into existing LLM workflows to autonomously produce skill sets from your context text.

Does this multi-agent skill extraction require external feedback or model modifications?

No, this multi-agent skill extraction requires neither external feedback nor modifications to underlying models. It uses a self-evolving loop and cross-time replay to independently refine skills, enabling zero or minimal downtime deployment via prepended Markdown.

What is the best way to identify robust skills that generalize across tasks?

The best way to identify robust skills that generalize across tasks is using a cross-time replay mechanism within a self-play loop. This process ensures that the discovered context-specific skills remain effective across different scenarios and timeframes.