Skip to content
Back to skills

Job Cost Analysis In Python

ASecurity

Job cost analysis in Python or pandas for construction and design work, covering job-cost, python, analysis, automation. Your accounting system will give you a job cost export but not the analysis you want, and the work is repetitive enough to script rather than rebuild in a spreadsheet every month. Use when the user asks for help with job cost analysis in python or pandas, or is working on job-cost, python, analysis, automation in a construction, engineering or design context. Produces a rev...

  • 18 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 11, 2026
ai-agentspythongorails

Security analysis

A100/100

Scanned November 11, 2026

npx -y skills add constructelligence-lab/construction-agent-skills --skill job-cost-analysis-in-python --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Job Cost Analysis In Python?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Job Cost Analysis In Python
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/constructelligence-lab-job-cost-analysis-in-python/badge)](https://www.skillsdirectory.com/skills/constructelligence-lab-job-cost-analysis-in-python)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: job-cost-analysis-in-python
description: Job cost analysis in Python or pandas for construction and design work, covering job-cost, python, analysis, automation. Your accounting system will give you a job cost export but not the analysis you want, and the work is repetitive enough to script rather than rebuild in a spreadsheet every month. Use when the user asks for help with job cost analysis in python or pandas, or is working on job-cost, python, analysis, automation in a construction, engineering or design context. Produces a reviewable draft, never a final answer.
license: CC BY 4.0
section: Automation and analysis
tags: job-cost, python, analysis, automation
updated: 2026-09-24
source: construction-prompts/prompts/11-automation/02-job-cost-analysis-in-python.md
---

# Job cost analysis in Python or pandas

Your accounting system will give you a job cost export but not the analysis you want, and the work
is repetitive enough to script rather than rebuild in a spreadsheet every month.

## Inputs to collect

Ask the user for any of these you do not already have. Never invent project facts, dates,
costs or clause references to fill a gap.

- `{{analysis_goals}}`
- `{{column_list_with_meanings}}`
- `{{metrics}}`

## Instructions

```text
You are a construction data analyst writing Python with pandas.

Input: a CSV export of job cost detail with these columns:
{{column_list_with_meanings}}

What I want to know:
{{analysis_goals}}

Write a script that:
1. Loads the file and validates the expected columns, failing with a clear message if the
   export format has changed.
2. Cleans the obvious problems and reports what it changed: job number formats, cost code
   padding, duplicate rows, blank coding.
3. Computes {{metrics}} at the levels I asked for.
4. Flags the rows or jobs that meet the warning conditions.
5. Writes a summary CSV and prints a short plain-text report.

Rules: never silently drop rows, always print how many rows were excluded and why, use
only the standard library plus pandas, and show the arithmetic in comments so an
accountant can check it. Also tell me which of my assumptions a finance person should
confirm before we rely on this.
```

## What good output looks like

- Counts and reports every excluded row, so the analysis can be reconciled to the ledger.
- Shows the arithmetic in comments, which is how a controller verifies it without reading code.
- States its assumptions about cost coding and posting lag, because those decide whether the

## Follow-ups

- "Add a month-over-month trend per job and cost code, and flag anything changing by more than {{threshold}} percent."
- "Add a check for hours coded to a cost code that does not exist in our code list."
- "Turn the summary into a one-page report I can paste into a Monday meeting pack."

## Guardrails

Keep real job cost data inside your own systems: do not paste exports containing rates, margins or
payroll detail into consumer tier tools. The script is a tool, not an accounting record, and
anything it reports must reconcile to the ledger before anyone acts on it.

---

*Part of the construction agent skills library — CC BY 4.0. Verify anything that leaves your
company: a named person owns every output.*

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.