captive-note

Write content to designated Captive notes with validation and timestamped backups.

4|Updated Feb 1, 2026
One-click install
npx skills add https://github.com/BugRoger/2bd --skill captive-note
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: captive-note
Source: https://github.com/BugRoger/2bd/tree/main/.claude/skills/_sub/write/captive-note
Command: npx skills add https://github.com/BugRoger/2bd --skill captive-note

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill ensures that content is written to your active, volatile notes (like Today.md or Week.md) safely, preventing accidental data loss and maintaining data integrity.

Core Features & Use Cases

  • Validated Writing: Ensures notes are written only within designated "Captive" directories.
  • Automatic Backups: Creates backups of existing content before overwriting, preventing data loss.
  • Use Case: When you need to quickly add new action items to your daily log (Today.md), this skill will write the content and automatically back up the previous version if it's not empty.

Quick Start

Write the following content to the specified path, ensuring it is a valid captive note.

Frequently Asked Questions about captive-note

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I safely overwrite daily log notes without losing previous content?

To safely overwrite daily log notes, this skill creates timestamped backups of existing content before writing new data. It ensures previous versions are preserved automatically, preventing accidental data loss when updating volatile files.

What is a captive directory and how does path validation work for notes?

A captive directory is a designated vault location for high-velocity notes. Path validation enforces restrictions so content is written only to this specific directory, preventing unauthorized file modifications outside the defined boundary.

How do I add action items to an active draft while keeping the old version?

You can add action items to an active draft by writing new content to the designated note. If the existing note is not empty, the skill automatically generates a timestamped backup before overwriting the file.

Can I use this to manage in-progress project details across different vault paths?

No, you cannot manage notes across arbitrary vault paths. The skill enforces path restrictions to a designated Captive directory, ensuring validated writing only occurs within that specific boundary.

Why does my note writing fail with a path restriction error?

Note writing fails with a path restriction error because the target file is outside the designated Captive directory. The skill enforces strict path validation to ensure content is written only to valid captive notes.