file-context-planning

Persist multi-step task planning data in Markdown files under a hash-based directory.

3|1|Updated Jan 13, 2026
One-click install
npx skills add https://github.com/hookvibe/hookcode --skill file-context-planning
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: file-context-planning
Source: https://github.com/hookvibe/hookcode/tree/main/.gemini/skills/file-context-planning
Command: npx skills add https://github.com/hookvibe/hookcode --skill file-context-planning

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill provides a durable, file-based workflow for managing complex tasks by persisting state across sessions using a standard set of Markdown files (task_plan.md, findings.md, progress.md) under docs/en/developer/plans/<session-hash>/, enabling multi-step sessions to retain context over long conversations.

Core Features & Use Cases

  • Persistent planning state across sessions via structured Markdown files (task_plan.md, findings.md, progress.md).
  • Session-based traceability using a unique session hash embedded in code comments and file paths.
  • Optional tooling to initialize, verify, and sync plan pages.

Quick Start

To begin planning with this Skill, initialize a new planning session:

  • Run: bash .gemini/skills/file-context-planning/scripts/init-session.sh "<hash>" "<title>"
  • Inspect or update: docs/en/developer/plans/<hash>/task_plan.md, findings.md, progress.md
  • Use: bash .gemini/skills/file-context-planning/scripts/check-complete.sh docs/en/developer/plans/<hash>/task_plan.md

Frequently Asked Questions about file-context-planning

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

FAQPage Schema
How do I maintain persistent planning state across Gemini sessions?

You maintain persistent planning state across Gemini sessions by storing structured Markdown files in a hash-based directory on disk. This approach saves task plans, findings, and progress data locally to retain context over long conversations.

What is the best way to trace decisions across multi-step development tasks?

Tracing decisions across multi-step development tasks is best handled by persisting context in standard Markdown files. This method uses a unique session hash embedded in code comments and file paths to ensure durable traceability throughout the workflow.

How do I initialize a new session for file-based task planning?

To initialize a new session for file-based task planning, run the initialization shell script with a session hash and title. This generates the required directory structure and Markdown templates for your project.

Can I check task plan completion status using the planning scripts?

Yes, you can check task plan completion status by running the check-complete shell script against your task_plan.md file. This verifies the current state of your structured Markdown to confirm if all planned items are resolved.

Does file-based context planning work without external database dependencies?

File-based context planning works entirely without external database dependencies by leveraging on-disk memory. It stores all planning data as structured Markdown files under a dedicated developer plans directory in your repository.

When should I use on-disk memory for long-running task context?

On-disk memory for long-running task context should be used when managing complex, multi-step sessions where tracing decisions across phases is essential. It solves the problem of losing state during extensive Gemini-driven workflows.