TPL_operation_agent

TPL_operation_agent is an agent for Claude Code from miyatti777/ai-plc. It costs 0 tokens per session (667 once invoked), scanned A, original, MIT.

A Japanese template for an operation agent that repeatedly runs a production skill with supplied variables and input data. It defines phases for checking variables, planning, executing, evaluating, and deciding whether to continue.

In plain words
What is it for?
Use it as a template when creating an agent that validates parameters, runs a production process, saves the resulting artifacts, records quality data, and processes the next item.
Why use it?
It gives generated agents a consistent workflow for producing multiple similar outputs and recording their results.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

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.

agentmods
npx agentmods add agents/miyatti777/ai-plc/tpl_operation_agent
Clone the repo
git clone --depth 1 https://github.com/miyatti777/ai-plc

Made for: Claude Code.

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 TPL_operation_agent

README.md
[![agentmods](https://agentmods.dev/badge/agents/miyatti777/ai-plc/tpl_operation_agent.svg)](https://agentmods.dev/agents/miyatti777/ai-plc/tpl_operation_agent)
Your own site
<a href="https://agentmods.dev/agents/miyatti777/ai-plc/tpl_operation_agent"><img src="https://agentmods.dev/badge/agents/miyatti777/ai-plc/tpl_operation_agent.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 667 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00000 $0.00667
Opus 5 $0.00000 $0.00333
Sonnet 5 $0.00000 $0.00133
Haiku 4.5 $0.00000 $0.00067

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

Security

Grade A, and why

TPL_operation_agent 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 6d 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.

core/skills/ai-plc/templates/agents/TPL_operation_agent.md · 54 lines

What it actually says

🏷️ Type: template (agent generation) — 量産実行・パターン適用系タスクのAgent定義生成用。/04-operation の Platform Builder(platform-builder.md Phase 9-11)で使用

このテンプレートは Phase 9(Production Skill自動生成)で生成される。元のLayerの実行結果から変数化ポイントを抽出し、パラメータ化されたテンプレートとして保存する。

Agent定義の標準構造

  • Goal: 「[Production Skill]を使い、[Variables]を指定するだけで[Artifact]を量産する」
  • Input: Production Skill(Phase 9で生成済み)、Variables(Parameter Storeから取得)、Input Data(任意)
  • Output: 量産された成果物、Database更新(ステータス・プロパティ)、Evalデータ(品質評価)
  • frontmatter(必須): name(kebab-case)/ description / tools(最小権限)/ delegable(FlowにMob CPを含むならfalse)を先頭に付与(03-construction v2.1)

Execution Flow(量産実行型)

Phase タイプ アクション 出力
1. 変数検証 Autonomous 必須変数の確認・デフォルト値適用 検証済み変数
2. 実行計画 Mob 実行フロー表示・推定所要時間・承認 承認済み計画
3. Runtime Execution Autonomous Production SkillのPhase構造に従い実行 成果物
4. Eval Output Autonomous 実行結果の記録・品質評価 Evalデータ
5. 継続判定 Mob 次のアイテムを処理するか判定 継続 / 完了

継続の場合はPhase 1に戻り、変数を更新して繰り返す。

変数定義テンプレート

variables:
  variable_1:
    name: "[name]"
    type: "string | number | date"
    description: "[説明]"
    example: "[例]"
    required: true | false
    default: "[デフォルト値]"

Guardrails

  • 必須変数が全て揃っていることを確認してから実行
  • 元のLayerと同じDB構造・ワークフローを使用(型の再現性)
  • 各実行結果をEvalデータとして記録
  • 品質問題があれば即座に停止して報告

起動形式

/04-operation で platform-builder.md の Phase 10 を実行してください

Variables:
  target_person: "山田太郎"
  theme: "AIプロダクト開発の極意"
  deadline: "2026-05-01"
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. 6d ago First seen · 54 lines · 0 tokens per session scan A a0d6f2410a84

Subscribe to this mod's changes

TPL_operation_agent is an agent published in the GitHub repository miyatti777/ai-plc (45 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 667 tokens. 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.

Related

Other agents, from other repositories