local-keywords

local-keywords is a command for coding agents from huifer/claude-code-seo. It costs 6 tokens per session (126 once invoked), scanned A, original, MIT.

A command for researching and improving local search keywords, such as combining a service with a city or neighbourhood.

In plain words
What is it for?
It can generate combinations such as “service + city,” analyse existing local keywords, and suggest page improvements. Search volume and competition are part of the analysis.
Why use it?
It helps find location-focused phrases and review how well existing pages use them, so local search wording is less guesswork.

Command

Part of the claude-code-seo plugin — 7 skills, 37 commands, 2 agents shipped together

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 commands/huifer/claude-code-seo/local-keywords
Clone the repo
git clone --depth 1 https://github.com/huifer/claude-code-seo

Or install claude-code-seo, the plugin that ships this one along with the rest of its 7 skills, 37 commands, 2 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 local-keywords

README.md
[![agentmods](https://agentmods.dev/badge/commands/huifer/claude-code-seo/local-keywords.svg)](https://agentmods.dev/commands/huifer/claude-code-seo/local-keywords)
Your own site
<a href="https://agentmods.dev/commands/huifer/claude-code-seo/local-keywords"><img src="https://agentmods.dev/badge/commands/huifer/claude-code-seo/local-keywords.svg" alt="Measured on agentmods" height="20"></a>
Per session 6 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 126 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 $0.00006 $0.00126
Opus 5 $0.00003 $0.00063
Sonnet 5 $0.00001 $0.00025
Haiku 4.5 $0.00001 $0.00013

Measured 4d ago against content hash 21294480c568, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

local-keywords 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 4d 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/local-keywords.md · 18 lines

What it actually says

生成和优化本地关键词。生成"城市+服务"关键词组合、分析搜索量和竞争度、提供页面优化建议。

参数

  • --city: 指定城市名称
  • --analyze: 分析现有本地关键词使用情况

关键词类型

  • "Service + City"
  • "Service + near + City"
  • "Best + Service + in + City"
  • "Service + Neighborhood"
  • "Service + [zip code]"
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. 4d ago First seen · 18 lines · 0 tokens per session scan A 21294480c568

Subscribe to this mod's changes

local-keywords is a command published in the GitHub repository huifer/claude-code-seo (110 stars, last pushed 8mo ago), licensed MIT. It adds 6 tokens to every session and 126 once invoked, about $0.0000 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.