loci-post-edit

Analyze pre-edit and post-edit artifacts to quantify timing and energy deltas.

1|Updated May 19, 2026
One-click install
npx skills add https://github.com/auroralabs-loci/loci-claude --skill loci-post-edit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: loci-post-edit
Source: https://github.com/auroralabs-loci/loci-claude/tree/main/skills/loci-post-edit
Command: npx skills add https://github.com/auroralabs-loci/loci-claude --skill loci-post-edit

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill analyzes pre-edit and post-edit artifacts to quantify how code changes affect hardware execution timing and energy.

Core Features & Use Cases

  • Detects modified and added functions by diffing pre-edit and post-edit artifacts.
  • Extracts per-function assembly and CFG data, runs MCP timing, and produces a unified post-edit report with timing and energy deltas.
  • Handles MCP availability gracefully, offering CFG-only analysis when timing data is unavailable.

Quick Start

Run post-edit analysis after edits to C/C++/Rust sources to see how changes affect hardware timing, energy, and CFG.

Frequently Asked Questions about loci-post-edit

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

FAQPage Schema
How do I measure the energy and timing impact of code changes in C/C++/Rust?

To measure energy and timing impact, you can diff pre-edit and post-edit artifacts to extract per-function assembly and CFG data, then run an MCP timing service to produce timing and energy deltas for modified functions.

Can I analyze control flow graph changes when I edit C/C++/Rust source code?

Yes, analyzing control flow graph changes is supported by extracting per-function CFG data from modified and added functions, providing a unified post-edit report even when hardware timing data is unavailable.

What do I need to generate per-function timing and energy deltas after editing code?

Generating per-function timing and energy deltas requires access to pre-edit and post-edit object files, an MCP-backed timing service, and the ability to generate assembly and CFG data for the modified functions.

What happens to post-edit timing analysis if the MCP timing service is unavailable?

If the MCP timing service is unavailable, the post-edit analysis handles the missing data gracefully by degrading to CFG-only analysis, still extracting and reporting control flow graph impacts for the modified functions.

How does post-edit analysis identify which functions to evaluate for hardware execution timing?

Post-edit analysis identifies functions to evaluate by diffing pre-edit and post-edit artifacts to detect exactly which functions were modified or added, then isolating their assembly and CFG data for timing and energy measurement.

Is it possible to get a unified report of assembly, CFG, and timing deltas for modified functions?

Getting a unified report of assembly, CFG, and timing deltas is the core function of post-edit analysis, combining extracted hardware traces and control flow data into a single document quantifying the impact of code changes.