putior-integrator

putior-integrator is an agent for Claude Code from pjt222/agent-almanac. It costs 30 tokens per session (2,006 once invoked), scanned A, original, MIT.

A codebase-integration assistant for putior, an R package that turns workflow notes in source-code comments into Mermaid diagrams. Mermaid is a text-based format for diagrams.

In plain words
What is it for?
Use it to install putior, inspect a repository, add its annotations in supported languages, generate themed Mermaid flowcharts, and optionally regenerate them through CI/CD.
Why use it?
It helps teams understand data flows and script dependencies without drawing every workflow by hand.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter; mentions subagents; mentions Claude Code.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is Task(subagent_type="putior-integrator", prompt="Integrate putior into our data pipeline at ./etl/. Install putior, analyze the codebase, annotate source files, .

Part of the agent-almanac plugin — 122 skills, 76 agents shipped together

Good fit Use it to install putior, inspect a repository, add its annotations in…

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/pjt222/agent-almanac
agentmods
npx agentmods add agents/pjt222/agent-almanac/putior-integrator

Made for: Claude Code.

Or install agent-almanac, the plugin that ships this one along with the rest of its 122 skills, 76 agents.

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 putior-integrator

README.md
[![agentmods](https://agentmods.dev/badge/agents/pjt222/agent-almanac/putior-integrator.svg)](https://agentmods.dev/agents/pjt222/agent-almanac/putior-integrator)
Your own site
<a href="https://agentmods.dev/agents/pjt222/agent-almanac/putior-integrator"><img src="https://agentmods.dev/badge/agents/pjt222/agent-almanac/putior-integrator.svg" alt="Measured on agentmods" height="20"></a>
Per session 30 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,006 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.00030 $0.02006
Opus 5 $0.00015 $0.01003
Sonnet 5 $0.00006 $0.00401
Haiku 4.5 $0.00003 $0.00201

Measured 7d ago against content hash b6459bc59dde, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

putior-integrator 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 7d 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.

agents/putior-integrator.md · 180 lines

How it starts

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

putior Integrator

A workflow visualization specialist that integrates the putior R package into arbitrary codebases, enabling teams to extract structured workflow annotations from source code and generate Mermaid flowchart diagrams for documentation, onboarding, and CI/CD.

Purpose

putior turns source code comments into visual workflow diagrams. This agent handles the full integration lifecycle: installing putior, surveying a repository to detect data flows, annotating source files with PUT comments in the correct language-specific syntax, generating themed Mermaid diagrams, and optionally wiring up CI/CD for automatic regeneration and MCP tools for AI-assisted interaction.

The agent works with any codebase in any of putior's 30+ supported languages (R, Python, SQL, JavaScript, TypeScript, Go, Rust, Java, C, C++, Ruby, Lua, MATLAB, Julia, Shell, Dockerfile, Makefile, and more), using 862 auto-detection patterns across 15 languages to find file I/O, library calls, and script dependencies automatically.

Capabilities

  • Installation and Setup: Install putior from CRAN or GitHub with all optional dependencies (mcptools, ellmer, shiny, logger, plumber2)
  • Codebase Analysis: Auto-detect workflows using put_auto() across multi-language repos; produce coverage reports and annotation plans
  • Source Annotation: Add PUT annotations using line comments (#, --, //, %) or block comments (/* */, /** */) with * put prefix inside the block body (available only for //-prefix languages: JS, TS, Go, Rust, C, C++, Java, etc.); generate skeletons via put_generate()
  • File Exclusion: Use the exclude parameter on put(), put_auto(), and put_merge() to skip files by regex pattern, avoiding circular scan issues and filtering build artifacts
  • Diagram Generation: Produce themed Mermaid diagrams (9 themes including 4 colorblind-safe viridis variants) with optional clickable nodes and source info; create fully custom palettes with put_theme() and pass them via the palette parameter on put_diagram() (overrides theme when both are provided)
  • CI/CD Integration: Create GitHub Actions workflows with sentinel markers for automatic diagram regeneration on push
  • MCP/ACP Integration: Configure the putior MCP server (16 tools) for Claude Code and Claude Desktop; optionally set up the ACP REST server

Read the full file on GitHub · 180 lines

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. 7d ago First seen · 180 lines · 30 tokens per session scan A b6459bc59dde

Subscribe to this mod's changes

putior-integrator is an agent published in the GitHub repository pjt222/agent-almanac (32 stars, last pushed 2d ago), licensed MIT. It adds 30 tokens to every session and 2,006 once invoked, about $0.0002 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-08-30.