Shock analysis supply

From XuShuwenn/RedAct · View interactive version

Shock analysis supply is an AI agent skill from the GitHub repository XuShuwenn/RedAct. Estimate investment spending shock using Cobb-Douglas production function with HP filter in Excel.

How to use this skill

Skill file

Supply-Side Shock Analysis with Cobb-Douglas

When to Use

Non-Negotiable Constraints

Multi-Step Process

Before editing the workbook: inspect existing sheets, headers, named areas, formulas, and occupied ranges. Verify target-column mapping from headers or example rows before entering data, especially when a field is unlabeled, then proceed to populate test-supply.xlsx rather than stopping at reconnaissance.

Compliance priority: treat source fidelity, template preservation, and required methodology as primary success criteria. Use zero formula errors only as a final check after confirming the workbook still uses the mandated sheets, sources, derivations, and Solver-based HP filter.

Execution gate before proceeding: if the task mandates a collection tool or in-application step (for example a required web workflow or Excel Solver), use that exact tool/step as part of the deliverable. Do not switch to Python, curl, search snippets, or workbook-editing scripts unless the task explicitly allows it.

STEP 0: Workflow and source validation

STEP 1: Data Collection

STEP 2: HP Filter in Excel

STEP 3: Production Function

Execution discipline: timebox reconnaissance. Once the workbook path, source list, and required output are known, immediately (1) open/inspect test-supply.xlsx, (2) map destination sheets/ranges from headers, nearby formulas, named ranges, or examples, (3) retrieve the first required source table through the mandated official path, and (4) write validated data/formulas into the workbook. Do not linger in planning mode or repeated reconnaissance once execution is authorized.

Key Parameters

Final validation

Output

test-supply.xlsx

Completion checklist before finishing:

Tips

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.