Skip to main content

Copilot-Toolkit 🚀 A toolkit for coding agents 🚀

Get the most out of GitHub Copilot, Cursor and Co. Powered by flock.

This repository contains a collection of tools and configuration like custom rules for AI-assisted development that significantly enhance your productivity and code quality. These tools provide structure, automation, and consistency to your development process, regardless of which AI assistant you use.

Expand the abilities of GitHub Copilot, Cursor and other LLM-based development agents. For example with the help of custom rules enable Copilot to follow project management best practices which will improve the quality of the code and the project tenfold.

Do custom code analysis and share the result with your coding agents, or create automatic documentations.

Quick Setup 🛠️ - No Installation

Requirements: uv

You can use everything copilot-toolkit has to offer without installing anything else — just make sure uv is available on your system.

Non-agentic Features

Scaffold Rules

# For Cursor AI
uvx copilot-toolkit --cursor

# For GitHub Copilot
uvx copilot-toolkit --copilot

Collect Code

# Collect all .py files in the current directory and subdirectories
# Writes output to code.md in the current directory

uvx copilot-toolkit --collect

# which is the same as
uvx copilot-toolkit --collect \
  --include "py:." \
  --output repository_analysis.md
# Collect multiple file types from multiple roots
# Excludes paths containing 'external'
# syntax
# <file extensions>:<folder>
# *:. 
# all files in all folders
# Writes output to .project/code.md
uvx copilot-toolkit --collect \
  --include "py,js:." \
  --exclude "*:external" \
  --include "md:docs" \
  --output .project/code.md

Instead of passing everything via CLI, you can define your sources and output in a simple .toml file.

Example copilot-toolkit.toml:

[[source]]
exts = ["py", "js"]
root = "."
exclude = ["external"]

[[source]]
exts = ["md"]
root = "docs"

output = ".project/code.md"

Then run:

uvx copilot-toolkit --collect --config copilot-toolkit.toml

Clean

# Clean all python cache folders

uvx copilot-toolkit --clean

Init

# Init a basic project with some sensical defaults

uvx copilot-toolkit --init

Build

# Builds the project and installs it as editable package

uvx copilot-toolkit --build

Agentic Features

Agentic Features are abusing making use of Gemini's immense context window. Paired with the improved abilities of Gemini 2.5 results in tools that were not possible ever before.

# define your google ai studio key
uvx copilot-toolkit --set_key xxx

Create a project specification

# create specifications based on the current project
uvx copilot-toolkit --specs --output .project/

uvx copilot-toolkit --prompt specs --def specs.def --input . --output .project/

App-ify data

# create a standalone webapp based on some data
uvx copilot-toolkit --app --input data.json --output app/

uvx copilot-toolkit --prompt app --input data.json --output app/

Last but not least there is an interactive mode that let's you chat with an agent, and the agent figures out what you want to do.

uvx copilot-toolkit --interactive

License 📜

MIT License - See LICENSE for details.


"If you want to build a ship, don't drum up people to collect wood and don't assign them tasks and work, but rather teach them to long for the endless immensity of the sea." - Antoine de Saint-Exupéry

In the same way, effective AI systems don't just execute code, but operate within a framework of principles and specifications that guide them toward building solutions that fulfill the true vision of what we seek to create.

Let your coding agents work with your rules — not against them.

Metadata

Release files for copilot-toolkit 0.2.14

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for copilot-toolkit 0.2.14
File Size Uploaded Provenance Actions
copilot_toolkit-0.2.14.tar.gz 656.4 kB Without provenance Details for copilot_toolkit-0.2.14.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for copilot-toolkit 0.2.14
File Interpreter ABI Platform Actions
copilot_toolkit-0.2.14-py3-none-any.whl Python 3 none any Details for copilot_toolkit-0.2.14-py3-none-any.whl

Total release size: 771.1 kB

Release files / copilot_toolkit-0.2.14.tar.gz

Download URL copilot_toolkit-0.2.14.tar.gz
Size 656.4 kB
Tags Source
SHA-256 checksum
How to use checksums
96233cb2a1dae26d87ce408af07323e0b1202c172110757093cee412aefa1e56
BLAKE2b-256 checksum
How to use checksums
443d00afa4b70b6abc5ad7a0ccada8920aef489a168ed75a0559c51e3e6bb735
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.10

Release files / copilot_toolkit-0.2.14-py3-none-any.whl

Download URL copilot_toolkit-0.2.14-py3-none-any.whl
Size 114.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
be1eecf5cf780ac56e040f3f54df97ef5cc3378cb71f31fdec9af9ab7abef656
BLAKE2b-256 checksum
How to use checksums
23311613b14ea213eee5c7613c8a2edcc32a1d003e93ebf1dbd0085e6468c1bc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.10

Security for copilot-toolkit 0.2.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page