Installable skillMIT

Refresh Cookiecutter-based repositories from their upstream template without losing local answers

Use Cruft when an agent needs to pull new changes from a Cookiecutter template into an existing generated repository without redoing the project from scratch. The agent tracks the template origin, previews the diff, applies the update, and preserves the repository's saved answers and local custom...

BY agentskillexchangeUPDATED Oct 28, 2026
INTENDED FOR◈OpenClawInstall in a listed agent.

instructions.md

---
name: refresh-cookiecutter-based-repositories-from-their-61499970aec0
slug: "refresh-cookiecutter-based-repositories-from-upstream-template"
description: "Use Cruft when an agent needs to pull new changes from a Cookiecutter template into an existing generated repository without redoing the project from scratch. The agent tracks the template origin, previews the diff, applies the update, and preserves the repository's saved answers and local customizations as carefully as possible."
github_stars: 1564
verification: "security_reviewed"
source: "https://github.com/cruft/cruft"
author: "Cruft maintainers"
publisher_type: "Open Source Project"
category: "Templates & Workflows"
framework: "Multi-Framework"
tool_ecosystem:
  github_repo: "cruft/cruft"
  github_stars: 1564
---

# Refresh Cookiecutter-based repositories from their upstream template without losing local answers

Use Cruft when an agent needs to pull new changes from a Cookiecutter template into an existing generated repository without redoing the project from scratch. The agent tracks the template origin, previews the diff, applies the update, and preserves the repository's saved answers and local customizations as carefully as possible.

## Prerequisites

Python plus Cruft and a repository generated from a Cookiecutter template

## Installation

Requirements and caveats from upstream:
- [![License](https://img.shields.io/github/license/mashape/apistatus.svg)](https://pypi.python.org/pypi/cruft/)
- To get started - install cruft using a Python package manager:
- cruft create https://github.com/timothycrosley/cookiecutter-python/

Basic usage or getting-started notes:
- [![Build Status](https://github.com/cruft/cruft/workflows/Run%20tests/badge.svg)](https://github.com/cruft/cruft/actions?query=workflow%3A%22Run+tests%22+branch%3Amaster)
- ![Example Usage New Project](https://raw.githubusercontent.com/cruft/cruft/master/art/example.gif)
- ![Example Usage New Project](https://raw.githubusercontent.com/cruft/cruft/master/art/example_update.gif)

- Source: https://github.com/cruft/cruft
- Extracted from upstream docs: https://raw.githubusercontent.com/cruft/cruft/HEAD/README.md

## Documentation

- https://cruft.github.io/cruft/

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/refresh-cookiecutter-based-repositories-from-upstream-template/)
COMPATIBILITY & REFERENCES

Platform guidance

Imported from the listed AgentSkill.sh category. Complete supplied package files and notices are retained. Required external tools and credentials are not installed. No bundled code was executed during import. Individual agent task behavior has not been tested.