officeagent-integration

officeagent-integration is a skill for Claude Code, Codex from ilia-sokolov/OfficeAgent.NET. It costs 84 tokens per session (1,018 once invoked), scanned A, original, MIT.

A .NET integration guide for OfficeAgent.NET, a library for working with Microsoft Office documents through typed operations. It covers choosing packages and connecting the library to MCP or Microsoft's agent framework when needed.

In plain words
What is it for?
Use it to build .NET integrations that populate templates or make tracked edits in Word documents. It does not cover Excel calculation or every Office format.
Why use it?
It helps avoid incompatible package choices and clarifies when to use OfficeAgent.NET, the Open XML SDK, or another component.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present.

Part of the officeagent plugin — 2 skills, 1 MCP server shipped together

Good fit Use it to build .NET integrations that populate templates or make tracked edits in Word documents. It does not cover Excel calculation or every Office format.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ilia-sokolov/officeagent.net/officeagent-integration
Install

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.

Any agent
npx skills add ilia-sokolov/OfficeAgent.NET --skill officeagent-integration
Clone the repo
git clone --depth 1 https://github.com/ilia-sokolov/OfficeAgent.NET

Made for: Claude Code, Codex.

Or install officeagent, the plugin that ships this one along with the rest of its 2 skills, 1 MCP server.

Wrote 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.

agentmods badge for officeagent-integration

README.md
[![agentmods](https://agentmods.dev/badge/skills/ilia-sokolov/officeagent.net/officeagent-integration/github.svg)](https://agentmods.dev/skills/ilia-sokolov/officeagent.net/officeagent-integration)
Your own site
<a href="https://agentmods.dev/skills/ilia-sokolov/officeagent.net/officeagent-integration"><img src="https://agentmods.dev/badge/skills/ilia-sokolov/officeagent.net/officeagent-integration/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.

agentmods 80×15 button for officeagent-integration

Your own site · 80×15
<a href="https://agentmods.dev/skills/ilia-sokolov/officeagent.net/officeagent-integration"><img src="https://agentmods.dev/badge/skills/ilia-sokolov/officeagent.net/officeagent-integration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 84 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,018 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00084 $0.01018
Opus 5.5 $0.00034 $0.00407
Sonnet 5.5 $0.00017 $0.00204
Haiku 4.5 $0.00008 $0.00102

Measured 3d ago against content hash 8e469b074d79, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

officeagent-integration 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 3d 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.

plugins/officeagent/skills/officeagent-integration/SKILL.md · 51 lines

How it starts

The opening of the file, as written. The whole thing — 51 lines — stays where its author put it; the contents beside it link to each section on GitHub.

OfficeAgent.NET integration

Use OfficeAgent.NET only when its typed OOXML operations and preservation boundaries match the application. Start with the direct .NET API. Add MCP or Microsoft Agent Framework only when the host needs model tool calling.

Route the request

  • For dependency selection, application wiring, package installation, providers, MCP, or agent tools, continue with this skill.
  • For an agent actively reviewing or editing an existing Word document, use word-document-review after the host integration is ready.
  • For unsupported formats, native Office layout, a full Excel calculation engine, or low-level OOXML operations outside the documented plan operations, choose another component or use the Open XML SDK directly. The optional OfficeAgent.Excel.Calculation package fills in cached formula values for an allowlisted set of functions and reports every formula it does not calculate; it does not replace Excel's own calculation. When both are needed in one application, follow the tested copy, edit, reinspect workflow in the versioned SDK interoperability guide and recipe 4 of recipes.

Read the versioned selection guide before choosing packages. Keep all OfficeAgent packages on the same version.

Build in this order

  1. Choose only the format modules the application needs. Direct Word work normally needs OfficeAgent.Core and OfficeAgent.Word.
  2. Choose a bounded input model. Use StreamHandle when the caller owns bytes, or configure a provider when the workflow needs stable document ids and saved outputs.
  3. Inspect and find before authoring a plan. Carry the inspection snapshot into the plan when covered-content drift must be detected.
  4. Preview the complete plan and handle every error before commit. Never treat preview as a future-write guarantee.
  5. Commit, retrieve the canonical output, and assert document semantics. Structural schema checks do not replace native Office or visual review.
  6. Add the optional interface only after the direct workflow passes:
    • OfficeAgent.AgentFramework exposes AIFunction tools over the same client.
    • OfficeAgent.Mcp hosts the same engine over stdio or streamable HTTP.

Read the full file on GitHub · 51 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

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.

  1. 3d ago Changed 8e469b074d79
  2. 6d ago Changed 6b01f4d8ea71
  3. 18d ago Changed · +14 tokens per session 5c42066a73e3
  4. 1mo ago Changed 185a92dafb7f
  5. 1mo ago Changed 4015974bca68
  6. 2mo ago Changed 4199fba9c731
  7. 2mo ago Changed 2578cb543a97
  8. 2mo ago First seen · 51 lines · 70 tokens per session scan A 280ccd29ba65

Subscribe to this mod's changes

officeagent-integration is a skill published in the GitHub repository ilia-sokolov/OfficeAgent.NET (31 stars, last pushed 3d ago), licensed MIT. It adds 84 tokens to every session and 1,018 once invoked, about $0.0003 per session on Opus 5.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-21.

Related

officeagent-integration compared with skills from other repositories

officeagent-integration next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
officeagent-integrationilia-sokolov/OfficeAgent.NETSkill313d agoMITA84Claude Code, Codex
aos-agent-skill-documentaxutse/aos-agent-skill-documentSkill23mo agoMITA49Claude Code, Codex
aos-process-pdfaxutse/aos-agent-skill-documentSkill23mo agoMITA87Codex
aos-publish-documentaxutse/aos-agent-skill-documentSkill23mo agoMITA99Codex
genofficegenspark-ai/genofficeSkill13k3d agoApache-2.0A202Claude Code, Codex
kordocchrisryugj/kordocSkill3.2kyesterdayMITA253Claude Code, Codex
document-generationautomateyournetwork/netclawSkill739todayApache-2.0A118Claude Code