Refresh Cookiecutter Based Repositories From Upstream Template
ASecurity
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.
Installs into .claude/skills of the current project.
Are you the author of Refresh Cookiecutter Based Repositories From Upstream Template?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/agentskillexchange-refresh-cookiecutter-based-repositories-from-upstr)
---
name: "Refresh Cookiecutter-based repositories from their upstream template without losing local answers"
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:
- [](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:
- [](https://github.com/cruft/cruft/actions?query=workflow%3A%22Run+tests%22+branch%3Amaster)
- 
- 
- 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/)