Idfa Ops logo

Idfa Ops

Organization
panaversity
idfa-ops

Named Range operations for IDFA-compliant Excel models. Provides scripts to write assumptions, read results, inspect model structure, audit compliance, and trigger deterministic recalculation. Use alongside the idfa-financial-architect methodology skill. Activate when the agent needs to programmatically interact with an Excel financial model — reading, writing, auditing, or recalculating.

Overview

Publisherpanaversity
Repositoryagentfactory-business-plugins
Skill nameidfa-ops
Stars
37
Forks
19
Bundled files
8
LicenseProprietary
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 8 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by panaversity on GitHub. Read the source before you install it.

Installation

Install the Idfa Ops AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/panaversity/agentfactory-business-plugins/tree/main/idfa-financial-architect/skills/idfa-ops
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/panaversity/agentfactory-business-plugins.git /tmp/agentfactory-business-plugins
mkdir -p .claude/skills
cp -r /tmp/agentfactory-business-plugins/idfa-financial-architect/skills/idfa-ops .claude/skills/idfa-ops
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Idfa Ops in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Idfa Ops on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Idfa Ops is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

IDFA Operations

Scripts for programmatic interaction with IDFA-compliant Excel financial models.


When to Use This Skill

Activate when the idfa-financial-architect methodology skill calls for model interaction:

  • Writing assumptions — setting Named Range input values
  • Reading results — retrieving calculated outputs after recalculation
  • Inspecting structure — listing all Named Ranges, formulas, and dependencies
  • Auditing compliance — checking all four IDFA guardrails
  • Recalculating — triggering deterministic formula evaluation via LibreOffice

This skill provides the HOW. The methodology skill provides the WHAT.


Prerequisites

DependencyRequiredPurpose
Python 3.10+YesScript runtime
uvYesPEP 723 inline dependency resolution
LibreOfficeYes (for recalc)Deterministic formula evaluation
Anthropic xlsx skillRecommendedProvides battle-tested recalc.py

Scripts use PEP 723 inline metadata — uv run handles dependency installation automatically. Zero manual pip install needed.


Operations Reference

OperationCommandWhat It Does
Write assumptionuv run scripts/idfa_ops.py write <file> <name> <value>Set a Named Range input value
Read resultuv run scripts/idfa_ops.py read <file> <name> [name2...]Read Named Range value(s)
Inspect modeluv run scripts/idfa_ops.py inspect <file>List all Named Ranges, values, formulas
Read formulauv run scripts/idfa_ops.py formula <file> <name>Return the formula text for a Named Range
Create Named Rangeuv run scripts/idfa_ops.py create-range <file> <name> <sheet> <cell>Create a new Named Range definition
Recalculateuv run scripts/recalc_bridge.py <file>Trigger LibreOffice deterministic recalculation
Audit complianceuv run scripts/idfa_audit.py <file>Check all four IDFA guardrails, return JSON report

All script paths are relative to this skill's directory (skills/idfa-ops/).


The Write-Recalculate-Read Pattern

The fundamental interaction pattern for IDFA model operations. The agent reasons about what values to set, but the spreadsheet engine performs all arithmetic.

bash
# Step 1: Write assumption
uv run scripts/idfa_ops.py write model.xlsx Inp_Rev_Y1 12000000

# Step 2: Recalculate (LibreOffice evaluates all formulas)
uv run scripts/recalc_bridge.py model.xlsx

# Step 3: Read results
uv run scripts/idfa_ops.py read model.xlsx Gross_Profit_Y1 Gross_Profit_Y2 Gross_Profit_Y3

Step 1 writes the assumption to the Named Range. The value is stored but dependent formulas are not yet recalculated.

Step 2 triggers LibreOffice to evaluate every formula in the workbook deterministically. This is essential — openpyxl cannot evaluate formulas.

Step 3 reads the recalculated results. The values returned are the model's deterministic output, not the agent's estimate.


Composing with the xlsx Skill

When Anthropic's xlsx skill is also installed, recalc_bridge.py automatically delegates to the xlsx skill's recalc.py for LibreOffice-based formula evaluation. When only idfa-ops is installed, recalc_bridge.py runs its own LibreOffice macro.

The interface is identical either way — the agent calls the same command regardless of which recalculation backend is available.


Output Formats

All scripts output JSON to stdout for agent consumption.

Success example (read):

json
{
  "status": "ok",
  "values": { "Gross_Profit_Y1": 4000000, "Gross_Profit_Y2": 4510000 }
}

Success example (inspect):

json
{"status": "ok", "named_ranges": [...], "count": 16}

Error example:

json
{ "error": "Named Range not found: Bad_Name" }

Exit codes: 0 = success, 1 = Named Range not found, 2 = file/usage error.


Output Best Practices

Every task that modifies or analyses a model MUST produce a Markdown results file saved to the output directory. The xlsx file alone is insufficient — a text artifact is needed for review, grading, and audit trail.

For multi-step operations (what-if, goal-seeking, multi-write scenarios):

  1. Document each step: what command was run, what was returned
  2. Include a summary table with before/after values
  3. State the methodology: "All values obtained via write-recalculate-read pattern" or "Computed via formula tracing (LibreOffice unavailable)"
  4. Save as <task>_results.md alongside the modified xlsx

This is not optional — the results file IS the deliverable. The xlsx is the artifact that proves it.


Error Handling

ErrorExit CodeAgent Action
Named Range not found1Inspect model to find correct name
File not found2Verify path and retry
LibreOffice not installed1Warn user; read/write still work but recalc unavailable
Permission denied2Check if file is open in Excel

When LibreOffice is unavailable, the agent can still write assumptions and read cached values — but the Write-Recalculate-Read pattern cannot complete. The agent should inform the user that results may not reflect the latest assumptions.


Attribution

IDFA Operations is part of the IDFA Financial Architect plugin, developed by the Panaversity team (https://panaversity.org). Proprietary — see LICENSE.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Idfa Ops AI skill do?

Named Range operations for IDFA-compliant Excel models. Provides scripts to write assumptions, read results, inspect model structure, audit compliance, and trigger deterministic recalculation. Use alongside the idfa-financial-architect methodology skill. Activate when the agent needs to programmatically interact with an Excel financial model — reading, writing, auditing, or recalculating.

Why use Idfa Ops on TypingMind?

Because you install it once and use it with any model. Idfa Ops is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Idfa Ops in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/panaversity/agentfactory-business-plugins/tree/main/idfa-financial-architect/skills/idfa-ops. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Idfa Ops?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Idfa Ops?

As many as you like. As long as a model supports skills, you can use Idfa Ops with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Idfa Ops AI skill free?

Yes. It is published on GitHub by panaversity under the Proprietary license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇