Chisel extracts code files from AI chat markdown output and writes them to disk with correct names and folder structure.

Stars

6

7-day growth

No data

Forks

1

Open issues

0

License

MIT

Last updated

2026-07-27

AI repository intelligence
FR-AI / ANALYSIS

Why it is worth attention

It automates the tedious process of manually copying code from AI responses into project files, supports multiple AI providers, and offers diverse interaction modes including interactive chat, clipboard monitoring, and a desktop GUI—all with zero dependencies.

Who it is for

  • Developers using AI assistants for code generation
  • Freelancers prototyping projects quickly
  • Teams integrating AI-generated code into workflows
  • Educators demonstrating AI-assisted development

Use cases

  • Generate project scaffolding by asking an AI to build a REST API or dashboard
  • Extract code from AI chat transcripts or clipboard content
  • Automate file creation from AI suggestions in a continuous development pipeline
  • Quickly prototype ideas by iterating with AI and writing files directly

Strengths

  • Zero dependencies—pure Python standard library, no extra packages required
  • Supports multiple AI providers (OpenAI, Anthropic, Google, DeepSeek, Qwen, custom) and local models via Ollama
  • Multiple interaction modes: one-shot ask, persistent chat, clipboard watch, desktop GUI, and file parsing
  • Intelligent file detection with pattern matching, deduplication, and automatic casing for special filenames

Considerations

  • Requires Python 3.8+ and may not run on older systems
  • Remote providers need API keys; local models require Ollama installation
  • Complex or nested code blocks in AI output may occasionally not be parsed correctly

README quick start

Chisel

AI chat çıktısını gerçek proje dosyalarına dönüştür. / Turn AI chat output into real project files.

ChatGPT, Claude, Gemini, Qwen, DeepSeek — hangi yapay zeka olursa olsun, markdown çıktısındaki kod bloklarını otomatik algılar, doğru isimler ve klasör yapısıyla diske yazar.

Chisel parses the markdown output that AI assistants produce, detects every file embedded in it, and writes them to disk with the correct names and directory structure.

$ chisel ask "Flask REST API yaz, SQLAlchemy kullan" -o myapi/

  chisel v2.0.0 — ask
  openai · gpt-4o

  ──────────────────────────────────────
  Here's a complete Flask REST API...
  ──────────────────────────────────────

  Found: 7 files, ~180 lines

      1. src/app.py (python) — 45 lines
      2. src/models.py (python) — 32 lines
      3. src/routes.py (python) — 28 lines
      4. config.py (python) — 15 lines
      5. requirements.txt — 6 lines
      6. .env — 3 lines
      7. Dockerfile — 8 lines

  7 files created → myapi/

Kurulum / Install

Sıfır bağımlılık — Zero dependencies. Pure Python stdlib.

pip install .
# veya / or
python -m chisel ask "birşeyler yap"

Python 3.8+ gerektirir / required.


Modlar / Modes

chisel ask — Tek Seferlik / One-Shot

chisel ask "React dashboard, Tailwind CSS ile" -o dashboard/
chisel ask "React dashboard with Tailwind CSS" -o dashboard/
FlagTREN
-o DIRÇıktı klasörüOutput directory
-fÜzerine yazOverwrite existing
-nSadece listeleDry run
--cleanYorumları temizleStrip comments
--localYerel model (Ollama)Use local model

chisel chat — Sohbet / Interactive

Kalıcı konuşma geçmişiyle chat. / Chat session with persistent context.

chisel chat -o myproject/

Komutlar / Commands: /quit /clear /help /model


chisel watch — Pano İzleme / Clipboard Watch

Panoyu izler, AI çıktısını yakalar. Qwen, ChatGPT Desktop, tarayıcı — fark etmez.
Monitors clipboard for AI output. Works with any desktop chat app.

chisel watch -o project/           # sor / ask before writing
chisel watch -o project/ --auto    # direkt yaz / write immediately

chisel gui — Masaüstü Arayüzü / Desktop App

Native pencere — yapıştır, önizle, yaz. tkinter, ekstra kurulum yok.
Native window — paste,

Description

AI chat çıktısını gerçek proje dosyalarına dönüştür

Related repositories

Similar projects matched by category, topics, and programming language.

lopopolo
Featured
lopopolo GitHub avatar

harness-engineering

Harness Engineering is a methodology for improving coding agent outputs by carefully crafting the environment around them—providing curated context, tools, and executable constraints that encode an organization’s nonfunctional requirements and cumulative lessons.

AI & Machine LearningAI Agents
2,390
slvDev
Featured
slvDev GitHub avatar

esp32-ai

A 28.9 million parameter language model runs on an $8 ESP32-S3 microcontroller entirely on-device, generating simple stories at about 9.5 tokens per second.

AI & Machine LearningLarge Language Models
1,960
littledivy
Featured
littledivy GitHub avatar

mimic

mimic captures traffic from any iOS or web app and automatically generates a Python client library that lets you call the app's API like a regular library.

AI & Machine Learning
1,482