affected-scope

Compute affected project scope from working tree changes and output JSON.

1|Updated Apr 29, 2026
One-click install
npx skills add https://github.com/g-bastianelli/nuthouse --skill affected-scope
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: affected-scope
Source: https://github.com/g-bastianelli/nuthouse/tree/main/moon-moth/skills/affected-scope
Command: npx skills add https://github.com/g-bastianelli/nuthouse --skill affected-scope

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill computes the scope of affected projects based on changes in the working tree and provides a structured JSON output for moon-moth agents to exchange information.

Core Features & Use Cases

  • Scope Calculation: Determines which projects are affected by changes in the working tree.
  • JSON Output: Delivers a structured JSON object containing project IDs, layers, stacks, and tasks.
  • Use Case: When a developer makes changes to a codebase, this Skill can be used to identify which projects are affected and what tasks need to be executed.

Quick Start

Run the affected-scope skill to get the scope map for the current changes.

Frequently Asked Questions about affected-scope

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

FAQPage Schema
How do I determine which projects are affected by working tree file changes?

To determine affected projects from working tree file changes, run the affected-scope Skill. It computes the scope of changed projects and outputs a structured JSON object containing project IDs, layers, stacks, and tasks for agent exchange.

How do I get a JSON output of affected project scope for moon-moth agents?

You get a JSON output of affected project scope for moon-moth agents by running the affected-scope Skill. It analyzes working tree changes and delivers a structured object containing project IDs, layers, stacks, and tasks to execute.

Do I need moon query to calculate the affected project scope?

Yes, you need moon query to calculate the affected project scope. The Skill requires moon query to fetch project information before it can compute which projects are affected by working tree changes and generate the structured JSON output.

What information is included in the affected project scope JSON output?

The affected project scope JSON output includes project IDs, layers, stacks, and tasks. This structured data is used by moon-moth agents to determine which projects to focus on and which tasks to execute based on working tree changes.

When should I use an automated affected scope calculation instead of manual tracking?

You should use automated affected scope calculation when you need to identify impacted projects and required tasks from working tree changes. It provides a structured JSON map for moon-moth agents, replacing manual tracking when exchanging scope information across projects.

Can I use affected-scope with other agents or is it limited to moon-moth?

The affected-scope Skill is specifically used by moon-moth agents to determine which projects to focus on and which tasks to execute. The structured JSON output is designed for exchanging project scope information within the moon-moth agent ecosystem.