Skip to content
Back to skills

2504 Dont Drop Original Read Files E4e2aebf

ASecurity

Follow along as aider is modified to preserve read-only files specified at launch when using the /drop command. Aider does this implementation and adds test coverage.

  • 9 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 11, 2026
testinggotestinggit

Works with

  • cli

Security analysis

A100/100

Scanned October 11, 2026

npx -y skills add tools-only/X-Skills --skill 2504-dont-drop-original-read-files_e4e2aebf --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 2504 Dont Drop Original Read Files E4e2aebf?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for 2504 Dont Drop Original Read Files E4e2aebf
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tools-only-2504-dont-drop-original-read-files-e4e2aebf/badge)](https://www.skillsdirectory.com/skills/tools-only-2504-dont-drop-original-read-files-e4e2aebf)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

SKILL.md
---
parent: Screen recordings
nav_order: 1
layout: minimal
highlight_image: /assets/recordings.jpg
description: Follow along as aider is modified to preserve read-only files specified at launch when using the /drop command. Aider does this implementation and adds test coverage.
---

# Don't /drop read-only files added at launch

<script>
const recording_id = "dont-drop-original-read-files";
const recording_url = "https://gist.githubusercontent.com/paul-gauthier/c2e7b2751925fb7bb47036cdd37ec40d/raw/08e62ab539e2b5d4b52c15c31d9a0d241377c17c/707583.cast";
</script>

{% include recording.md %}

## Commentary

- 0:01 We're going to update the /drop command to keep any read only files that were originally specified at launch.
- 0:10 We've added files that handle the main CLI and in-chat slash commands like /drop.
- 0:20 Let's explain the needed change to aider.
- 1:20 Ok, let's look at the code.
- 1:30 I'd prefer not to use "hasattr()", let's ask for improvements.
- 1:45 Let's try some manual testing.
- 2:10 Looks good. Let's check the existing test suite to ensure we didn't break anything.
- 2:19 Let's ask aider to add tests for this.
- 2:50 Tests look reasonable, we're done!







Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.