Batch Claudemd Repo Creator

For batch CLAUDE.md creation in large repository collections

About This Project

Batch-ClaudeMD-Repo-Creator is an automation workspace designed for use with Claude Code to process large collections of public GitHub repositories systematically. The workflow fetches a list of repositories through the GitHub API, temporarily clones each one, checks for an existing CLAUDE.md file, license, badges, and index matches, then adds missing files and updates README.md before committing, pushing, and removing the local clone. Configuration is held in JSON files covering the repository list, index definitions used for badge linking, and a list of empty repositories to skip, while a log.json file records per-repository outcomes, commit SHAs, and errors to support resuming interrupted runs.

The project relies on the GitHub CLI and a personal access token stored in a local environment file, with Shell as the primary implementation language and a CLAUDE.md template used to generate instructions for new repositories. Its safety design includes never force pushing, restricting changes to CLAUDE.md, README.md, and LICENSE files, skipping archived repositories, and logging protected-branch and push failures for manual review. Licensing defaults to MIT when no license is present, and the README and LICENSE file are kept consistent.

The workspace is most useful to developers or maintainers who manage many GitHub repositories and want to standardize documentation and Claude Code integration across them. The README notes that it is configured for a specific author's username and indexes, and that users adapting it must update repository references, index definitions, the template, and badge formats before use.

Project Details

Categories

Tags

bulk-utilitiesclaude-codegithub-repos

Explore More Projects