check-file

check-file is a command for Claude Code from akii-technologies-ltd/akii-seo-ai-search-optimizer. It costs 14 tokens per session (618 once invoked), scanned A, original, MIT.

A quick checker for search-engine and answer-engine details in a file or web page, such as titles, descriptions, headings, images, structured data, and links.

In plain words
What is it for?
It helps check metadata, heading order, image descriptions, schema markup, internal links, canonical URLs, social-sharing tags, and readable answer-focused structure.
Why use it?
It spots common visibility and page-structure problems without requiring a full website audit.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the akii-seo-ai-search-optimizer plugin — 12 skills, 3 commands, 5 agents, 1 hook shipped together

Good fit It helps check metadata, heading order, image descriptions, schema markup, internal links, canonical URLs, social-sharing tags, and readable answer-focused structure.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/akii-technologies-ltd/akii-seo-ai-search-optimizer/check-file
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.

Clone the repo
git clone --depth 1 https://github.com/akii-technologies-ltd/akii-seo-ai-search-optimizer

Made for: Claude Code.

Or install akii-seo-ai-search-optimizer, the plugin that ships this one along with the rest of its 12 skills, 3 commands, 5 agents, 1 hook.

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 check-file

README.md
[![agentmods](https://agentmods.dev/badge/commands/akii-technologies-ltd/akii-seo-ai-search-optimizer/check-file/github.svg)](https://agentmods.dev/commands/akii-technologies-ltd/akii-seo-ai-search-optimizer/check-file)
Your own site
<a href="https://agentmods.dev/commands/akii-technologies-ltd/akii-seo-ai-search-optimizer/check-file"><img src="https://agentmods.dev/badge/commands/akii-technologies-ltd/akii-seo-ai-search-optimizer/check-file/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 check-file

Your own site · 80×15
<a href="https://agentmods.dev/commands/akii-technologies-ltd/akii-seo-ai-search-optimizer/check-file"><img src="https://agentmods.dev/badge/commands/akii-technologies-ltd/akii-seo-ai-search-optimizer/check-file.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 618 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.00014 $0.00618
Opus 5 $0.00007 $0.00309
Sonnet 5 $0.00003 $0.00124
Haiku 4.5 $0.00001 $0.00062

Measured 13d ago against content hash 5bc3981b1183, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

check-file 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 13d 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.

commands/check-file.md · 70 lines

How it starts

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

Quick SEO + AEO Check

You are running a quick SEO + AEO check powered by Akii.

Arguments

$ARGUMENTS is the file to check. If empty, use current file from IDE context.

Checks

Title

  • Exists · 50–60 chars · includes target keyword · unique + compelling

Meta description

  • Exists · 150–160 chars · includes target keyword · has CTA

Headings

  • Exactly one H1 · logical hierarchy · keywords in H1 + H2s

Images

  • All have alt · alt descriptive · modern format / framework optimization

Structured data

  • JSON-LD present · schema type matches content · required properties filled

Links

  • 3+ internal links · descriptive anchor text · no broken patterns

Canonical + Open Graph + Twitter

  • Canonical set · og:title / og:description / og:image · Twitter card

AEO — good writing structure (Google-compatible, AI-engine-friendly)

This is helpful structure, not artificial AI-targeted chunking. Google's AI Optimization Guide rejects "chunking for AI" as a special signal but explicitly endorses "paragraphs and sections, along with headings that provide a clear structure". The checks below help readers AND non-Google AI engines (ChatGPT, Claude, Perplexity, Copilot) extract clean answers — never frame them as "AI hacks":

  • Direct-answer lead paragraph ≤40 words
  • Each H2/H3 section standalone (could lift into ChatGPT/Perplexity answer)
  • Definition blocks where key terms introduced
  • If HowTo: 5–7 step imperative checklist
  • FAQ section if applicable + FAQPage schema

Output

# Quick SEO + AEO Check — <file>

✅ Title: 54 chars, keyword present
✅ H1: unique, keyword present
⚠️ Meta: 187 chars (too long)
❌ Direct-answer lead: missing (AEO penalty)
✅ Schema: Article + FAQPage present

## Score: 68/100

## Top 3 fixes
1. Add ≤40-word direct-answer lead → +10 AEO
2. Shorten meta to 155 chars → +5 SEO
3. Add 2 internal links to related cluster pages → +3 SEO

## Run next
- /akii-seo-ai-search-optimizer:optimize-page (full SEO + AEO + GEO pass)

Read the full file on GitHub · 70 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. 13d ago First seen · 70 lines · 14 tokens per session scan A 5bc3981b1183

Subscribe to this mod's changes

check-file is a command published in the GitHub repository akii-technologies-ltd/akii-seo-ai-search-optimizer (76 stars, last pushed 3mo ago), licensed MIT. It adds 14 tokens to every session and 618 once invoked, about $0.0001 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.