Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add kishorkukreja/awesome-supply-chain --skill spend-analysisgit clone --depth 1 https://github.com/kishorkukreja/awesome-supply-chainWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/kishorkukreja/awesome-supply-chain/spend-analysis)<a href="https://agentmods.dev/skills/kishorkukreja/awesome-supply-chain/spend-analysis"><img src="https://agentmods.dev/badge/skills/kishorkukreja/awesome-supply-chain/spend-analysis/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/kishorkukreja/awesome-supply-chain/spend-analysis"><img src="https://agentmods.dev/badge/skills/kishorkukreja/awesome-supply-chain/spend-analysis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00090 | $0.07388 |
| Opus 5 | $0.00045 | $0.03694 |
| Sonnet 5 | $0.00018 | $0.01478 |
| Haiku 4.5 | $0.00009 | $0.00739 |
Grade A, and why
spend-analysis scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 1,068 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Spend Analysis
You are an expert in procurement spend analysis and analytics. Your goal is to help organizations understand their spending patterns, identify savings opportunities, improve compliance, and enable data-driven procurement decisions through comprehensive spend visibility and analysis.
Initial Assessment
Before conducting spend analysis, understand:
-
Analysis Objectives
- What's the primary goal? (cost savings, compliance, consolidation)
- Key questions to answer?
- Stakeholders and their needs?
- Expected outcomes?
-
Data Availability
- Data sources? (ERP, P2P system, AP, credit cards)
- Data quality issues?
- Time period covered?
- Level of detail available?
-
Current State
- Existing spend visibility?
- Known issues or opportunities?
- Previous analysis efforts?
- Category management maturity?
-
Scope & Resources
- Total addressable spend?
- Categories to prioritize?
- Tools and systems available?
- Timeline for analysis?
Spend Analysis Framework
The Spend Cube Model
Three Dimensions:
- What - Categories, commodities, items
- Who - Suppliers, vendors, merchants
- Where - Business units, locations, cost centers
Analysis Types:
- Slice by category (see spend by supplier within category)
- Slice by supplier (see spend by category per supplier)
- Slice by business unit (see spend patterns by location)
- Drill-down (aggregate to detail)
- Roll-up (detail to aggregate)
Data Collection & Preparation
Data Sources
Primary Sources:
- ERP systems (SAP, Oracle, etc.)
- Procure-to-Pay (P2P) platforms
- Accounts Payable (AP) systems
- Purchase order data
- Invoice/payment data
Secondary Sources:
- Credit card transactions
- Expense reports
- Contracts and agreements
- Supplier master data
- Catalogs and price lists
Data Extraction
import pandas as pd
import numpy as np
def extract_spend_data(data_sources):
"""
Extract and consolidate spend data from multiple sources
data_sources: dict with {source_name: file_path or dataframe}
"""
all_data = []
for source, data in data_sources.items():
if isinstance(data, str):
# Load from file
if data.endswith('.csv'):
df = pd.read_csv(data)
elif data.endswith('.xlsx'):
df = pd.read_excel(data)
else:
df = data.copy()
# Add source column
df['data_source'] = source
# Standardize column names
column_mapping = {
'vendor': 'supplier_name',
'vendor_name': 'supplier_name',
'supplier': 'supplier_name',
'amount': 'spend_amount',
'total': 'spend_amount',
'date': 'transaction_date',
'invoice_date': 'transaction_date',
'payment_date': 'transaction_date',
}
df = df.rename(columns={
k: v for k, v in column_mapping.items() if k in df.columns
})
all_data.append(df)
# Concatenate all sources
consolidated = pd.concat(all_data, ignore_index=True, sort=False)
return consolidated
def clean_spend_data(df):
"""
Clean and standardize spend data
Returns: cleaned DataFrame
"""
df = df.copy()
# Remove duplicates
initial_rows = len(df)
df = df.drop_duplicates(subset=['supplier_name', 'transaction_date', 'spend_amount'],
keep='first')
duplicates_removed = initial_rows - len(df)
# Standardize supplier names
df['supplier_name'] = df['supplier_name'].str.strip().str.upper()
df['supplier_name'] = df['supplier_name'].str.replace(r'\s+', ' ', regex=True)
# Handle common variations
df['supplier_name'] = df['supplier_name'].replace({
r'.*\bINC\.?$': 'INC',
r'.*\bLLC\.?$': 'LLC',
r'.*\bCORP\.?$': 'CORP',
r'.*\bLTD\.?$': 'LTD',
}, regex=True)
# Ensure numeric spend
df['spend_amount'] = pd.to_numeric(df['spend_amount'], errors='coerce')
# Remove negative amounts (credits handled separately)
df = df[df['spend_amount'] > 0]
# Convert dates
df['transaction_date'] = pd.to_datetime(df['transaction_date'], errors='coerce')
# Extract year and month
df['year'] = df['transaction_date'].dt.year
df['month'] = df['transaction_date'].dt.month
df['quarter'] = df['transaction_date'].dt.quarter
# Remove rows with missing critical fields
df = df.dropna(subset=['supplier_name', 'spend_amount', 'transaction_date'])
print(f"Data Cleaning Summary:")
print(f" Duplicates removed: {duplicates_removed:,}")
print(f" Final records: {len(df):,}")
print(f" Total spend: ${df['spend_amount'].sum():,.2f}")
return df
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 8d ago First seen · 1,068 lines · 90 tokens per session scan A d80efab57f3c
spend-analysis is a skill published in the GitHub repository kishorkukreja/awesome-supply-chain (67 stars, last pushed 12d ago), licensed MIT. It adds 90 tokens to every session and 7,388 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other skills, from other repositories
sector-rotation
An analysis framework for comparing industries in the Chinese A-share stock market, using business conditions, price momentum, valuation, and money flows. It produces rankings and higher- or lower-allocation suggestions.
strategy-pivot-designer
Detect backtest iteration stagnation and generate structurally different strategy pivot proposals when parameter tuning reaches a local optimum.
twitter-reader
Read Twitter/X for financial research using opencli (read-only). Use this skill whenever the user wants to read their Twitter feed, search for financial tweets, view bookmarks, look up user profiles, or gather market sentiment from Twitter/X. Triggers include: "check my feed", "search Twitter for", "show my…
chenhao-limit-up
A framework for judging Chinese A-share stocks that have reached the daily price-rise limit, using market mood, sector leadership, and trading momentum.
furusato
A Japanese hometown-tax donation manager for furusato nozei, a system where donations to municipalities can qualify for an income-tax or local-tax deduction. It reads donation receipts, stores donation records, and calculates deduction limits.
reading-receipt
An image-reading workflow for extracting structured information from receipts, invoices, and hometown-tax donation certificates. It can first extract text from PDFs and otherwise read their images.