Collects CLAUDE.md files from directory hierarchy (project folder up to `~/.claude/`), embeds their `@`-imports and commands, and generates processed context files that can then be used as context with other agents.
git clone https://github.com/czottmann/render-claude-context.gitThe render-claude-context skill is designed to automate the collection of CLAUDE.md files from a project's directory hierarchy, extending up to the ~/.claude/ directory. By embedding the relevant @-imports and commands from these files, it generates processed context files that can be utilized with other AI agents. This automation simplifies the process of context preparation, allowing users to focus on more critical tasks without the manual overhead of file management. One of the key benefits of using the render-claude-context skill is the significant reduction in time spent on context file generation. Although specific time savings are currently unknown, the skill's intermediate implementation time of just 30 minutes suggests that users can quickly integrate it into their workflows. By automating the tedious task of gathering and processing context data, developers and AI practitioners can streamline their operations, leading to increased productivity and efficiency. This skill is particularly beneficial for developers, product managers, and AI practitioners who work with AI agents and require a structured context for their operations. It is ideal for teams looking to enhance their workflow automation capabilities, especially in environments where multiple CLAUDE.md files are in use. For instance, a development team could use this skill to ensure that all relevant context is readily available for their AI agents, thereby improving the agents' performance in executing tasks. With an intermediate level of complexity, the render-claude-context skill requires some familiarity with directory structures and file management. However, its ease of implementation makes it accessible to a wide range of users. By incorporating this skill into an AI-first workflow, teams can ensure that their AI agents have the necessary context to operate effectively, ultimately leading to better outcomes and more efficient project execution.
1. **Install the skill**: Ensure your AI assistant supports file system operations (e.g., Claude Code or a local LLM with file access). 2. **Run the scan**: Execute the prompt template in your terminal or AI assistant, replacing `[PROJECT_FOLDER]` with your project directory (e.g., `/Users/yourname/projects/acme-corp`) and `[OUTPUT_PATH]` with your desired output file (e.g., `./acme-corp.context.md`). 3. **Verify imports**: Check the generated file for `@import` and `@command` entries. Ensure all referenced files exist and contain valid commands. 4. **Use with Sortd**: Load the generated context file into Sortd’s kanban boards to automate workflows. For example, use `@command /update-deal-stage` to move deals between Sortd’s "In Progress" and "Closed Won" columns. 5. **Iterate**: Update CLAUDE.md files in your project or global `.claude/` directory to include new commands or imports. Re-run the skill to regenerate the context file. **Tips**: - Use absolute paths for `@import` and `@command` entries to avoid ambiguity. - For Sortd integration, name your Sortd boards to match imported workflow files (e.g., `sales-pipeline.md` → Sortd board "Sales Pipeline"). - Store global commands in `~/.claude/globals/` to reuse them across projects.
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/czottmann/render-claude-contextCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
Generate a consolidated CLAUDE.md context file by scanning the directory hierarchy from [PROJECT_FOLDER] up to `~/.claude/` for all CLAUDE.md files. Extract and embed all `@`-imports and commands from these files, then output a single processed context file at [OUTPUT_PATH]. Include a header with the scan timestamp and a summary of imported files. Example: 'Generate CLAUDE.md context for the /Users/alice/projects/acme-corp repository. Scan from /Users/alice/projects/acme-corp up to ~/.claude/, extract all @-imports and commands, and save the result to /tmp/acme-corp.context.md.'
```markdown # CLAUDE.md Context - Generated on 2023-11-15T14:30:22Z **Source Files Imported:** - `/Users/alice/projects/acme-corp/.claude.md` - `/Users/alice/.claude/acme-corp/workflows.md` - `/Users/alice/.claude/globals/ai-commands.md` --- ## @imports ### Workflow Imports ``` @import /Users/alice/.claude/acme-corp/workflows/sales-pipeline.md @import /Users/alice/.claude/acme-corp/workflows/customer-support.md ``` ### Global Imports ``` @import /Users/alice/.claude/globals/ai-commands.md @import /Users/alice/.claude/globals/email-templates.md ``` --- ## @commands ### Sales Commands ``` @command /generate-sales-email --template "cold-outreach" --recipient "[EMAIL]" --subject "[SUBJECT]" @command /update-deal-stage --deal-id "[ID]" --new-stage "[STAGE]" ``` ### Support Commands ``` @command /escalate-ticket --ticket-id "[ID]" --priority "[PRIORITY]" @command /generate-support-response --ticket-id "[ID]" --tone "[FRIENDLY|PROFESSIONAL]" ``` ### Global Commands ``` @command /claude-sync --project "[PROJECT_NAME]" --output "[OUTPUT_PATH]" @command /claude-diff --file1 "[PATH1]" --file2 "[PATH2]" ``` --- ## Notes - All commands are pre-validated for use with Sortd (Gmail kanban workflows). - Workflow imports assume Sortd boards are named after the imported files (e.g., `sales-pipeline.md` → Sortd board "Sales Pipeline"). - Global commands are optimized for Sortd’s kanban-style task management and email automation. ```
AI assistant built for thoughtful, nuanced conversation
One-click cloud deployment with automatic SSL and CDN
Get more done every day with Microsoft Teams – powered by AI
Automate your spreadsheet tasks with AI power
Agentic AI Workflow platform
Connected workspace for docs, wikis, and projects
Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan