Context Window To Skill
Agent Buildingcontext-window-to-skillContext Window To Skill is an Agent Skill for agent building published in the forefy/.context repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Takes the active conversation as reference to understand how a skill can be created, with all the lessons learned from the users need in the conversation.
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/forefy/.context/blob/HEAD/skills/context-window-to-skill/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/context-window-to-skill, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Use Case:
User had finished working on his feature or task successfully, but had to tweak lots of stuff in the behavior of the agent prior to completion - we now want to create a skill that in the next time will make this task a breeze
Steps:
- Analyze conversation and understand fully what the user tried to achieve
- Analyze where were the pitfalls, user frustrations, and what pre-information would have made the results quicker to get with the most quality
- Print to the user 10 (or more) top items you think are the core points to base the new skill upon
- Consult with the user if questions still remain
- Create a skill and place it on the ~/.claude/skills/ directory. comply to agent skill format and https://code.claude.com/docs/en/skills
Results:
- Working new skill, that next time would do the job much better with all the tweaks needed to perfect it based on learned conversation and observation
- New skill should be reusable (e.g. think fixes also for future usecases other than the single one the user encountered)