This workflow implements an advanced AI-powered system for generating, and executing Claude Skills stored on GitHub.
When creating a skill, the workflow:
- Uses an AI agent to generate a properly structured SKILL.md file
- Extracts and formats the skill content
- Saves it automatically into a GitHub repository under a structured
/skills directory
When executing a skill, the workflow:
- Dynamically lists available skills from GitHub
- Navigates directories to find the correct skill files
- Retrieves their content via API
- Executes instructions strictly based on those files using an AI agent
Key Benefits
1. â
Dynamic Skill Execution
The system doesnât rely on hardcoded logic. It retrieves and executes skills directly from GitHub, making it highly flexible and extensible.
2. â
Self-Extending Architecture
New capabilities can be added simply by creating new skills. The workflow automatically integrates them without requiring changes to the core system.
3. â
Separation of Logic and Execution
All instructions are stored in external skill files, keeping the workflow clean, modular, and easy to maintain.
4. â
Automated Skill Creation
The workflow can generate complete Claude Skills (including structured documentation) and publish them to GitHub without manual intervention.
5. â
Multi-Model Intelligence
By combining OpenAI and Anthropic models, the system leverages different strengths (reasoning, generation, structure).
6. â
Context-Aware Conversations
Memory nodes allow the system to maintain session context, improving continuity and personalization.
7. â
Reliable Output Handling
Structured output parsing ensures decisions (like whether to proceed or ask for more info) are deterministic and machine-readable.
8. â
Up-to-Date Knowledge via Context7
Before generating skills, the system fetches real documentation, reducing hallucinations and ensuring accuracy.
9. â
GitHub as a Skill Registry
Using GitHub as a storage layer provides:
- Version control
- Collaboration
- Transparency
- Easy scaling
10. â
Agent-Based Orchestration
The workflow uses multiple specialized AI agents, each with a clear responsibility (validation, generation, execution), improving robustness and clarity.
How it works
- Creating new skills interactively with the help of a dedicated agent that uses Context7 for upâtoâdate documentation.
- Executing existing Claude skills stored in a GitHub repository (Claude Skills + Github System)
Creation flow (making a new skill)
- The AI Conversational Agent decides if the user is trying to create a skill and whether enough information is available.
- If information is missing, the user is asked for clarification via the More info node.
- Once ready, the Claude Skills Creator Agent takes over.
- This agent always consults Context7 to fetch documentation for any libraries/APIs involved.
- It then generates a properly formatted
SKILL.md file (with YAML frontmatter, imperative style, â€500 lines).
- The Extract Skill MD node parses the generated output.
- The SKILL.md Parser converts the markdown into binary data.
- The Create a Skill node uploads the file to the correct path in the GitHub repository (
skills/<skillâname>/SKILL.md).
- Finally, the Skill created node confirms success in the chat.
Execution flow (using skills)
- A chat message arrives â the workflow checks if the user wants to create a skill (via the AI Conversational Agent).
- If the request is not about creating a skill, it proceeds to the Skills Agent.
- The Skills Agent first receives a list of all skill directories from GitHub (via the List Skills node).
- It then uses two GitHub tools to explore those directories:
- List Files â to browse the contents of a skill folder.
- Get File from Skill â to fetch the actual
SKILL.md or other resources.
- The agent follows the instructions found in the skill files (not its own general knowledge) and produces an answer.
- The final answer is sent back to the chat via the Respond node.
- A Simple Memory node maintains conversation context across turns.
Set up steps
Prerequisites
- A GitHub account and a repository for storing skills (in the workflow:
https://github.com/n3witalia/my-skills).
Create inside a repo a folder called skills
- An OpenAI or Anthropic API key (the workflow uses Anthropic Claude models, but also includes an OpenAI node for extraction).
- A Context7 API key (for retrieving library documentation during skill creation).
Stepâbyâstep configuration
-
Import the workflow
- Copy the JSON definition into a new n8n workflow.
-
Configure credentials
- GitHub API â add your personal access token (with
repo scope).
- Anthropic API â add your API key.
- OpenAI API â add your API key (used only by the Extract Skill MD node).
- Context7 â add your API key (used as HTTP Header Auth).
-
Update GitHub repository details
- In the List Skills, List Files, Create a Skill, and Get File from Skill nodes, replace
n3witalia/my-skills with your own GitHub organisation and repository name.
-
Adjust the chat trigger
- Set the Webhook URL of the When chat message received node so your frontâend can post messages to it.
-
Review agent prompts
- Open the Claude Skills Creator Agent and check the system prompt (it enforces Context7 usage, skill format, and output rules). Modify if needed.
-
Set up memory
- The workflow uses three Simple Memory nodes. Each is configured with a session key derived from
Set chatbot vars.sessionId. Ensure your chat frontâend sends a unique sessionId to keep conversations separate.
-
Test the workflow
- Send a message like âcreate a skill for working with PDFsâ â the agent should ask questions, call Context7, and propose a skill.
- Send a normal request like âlist all my skillsâ â the Skills Agent should list directories from your GitHub repo.
-
Activate the workflow
- Toggle the workflow from inactive to active (topâright corner in n8n). The webhook will start listening for chat messages.
đ Subscribe to my new YouTube channel. Here Iâll share videos and Shorts with practical tutorials and FREE templates for n8n.

Need help customizing?
Contact me for consulting and support or add me on Linkedin.