Quick Winsのロゴ

Quick Wins

コミュニティ
popiliadam
quick-wins

Use when: kullanıcı "quick win", "hızlı kazanım", "kolay yükselebilecek sayfalar", "low-hanging fruit", "pozisyon 11-20", "CTR düşük yüksek impression" der ya da /pseo-quickwin çağırır. Also use when: aktif projenin GSC verisi master.xlsx'te mevcut; opportunity scoring yapılacak; kullanıcı sıralamada yükselebilecek fırsatlar arıyor. Do not use when: yeni içerik planı (new-content-plan), içerik decay (content-decay), tech audit (tech-audit), cannibalization analizi gerekiyor — ayrı discovery skill'leri.

概要

公開者popiliadam
リポジトリplatinum-seo-engine
スキル名quick-wins
スター
26
フォーク
3
同梱ファイル
指示のみ
ライセンスAGPL-3.0
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    popiliadamがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Quick Wins」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/popiliadam/platinum-seo-engine/tree/main/skills/discovery/quick-wins
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/popiliadam/platinum-seo-engine.git /tmp/platinum-seo-engine
mkdir -p .claude/skills
cp -r /tmp/platinum-seo-engine/skills/discovery/quick-wins .claude/skills/quick-wins
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでQuick Winsを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にQuick Winsを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Quick Winsは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

quick-wins — discovery skill (Phase 5 Wave 1, convention authority)

10-step protocol. Steps map 1:1 to workflow_runner invocations + the spec §16.5 8-step MCP discipline. Raw JSON drift recovery is mandatory: every MCP response is dropped into inbox/gsc/ before any transform runs, so a transform bug never costs us the upstream payload.

This skill is the convention authority for the 12+ ingestion-style discovery skills planned in Phase 6-12. Reuse the structure verbatim; deviate only with an ADR.

Inputs (frontmatter contract)

NameTypeDefaultNotes
project_slugstring—Required. Resolves projects/{slug}/master.xlsx.
days_backinteger28GSC date window end=today, start=today-N.
threshold_position_mininteger11Lower bound on currentPosition for inclusion.
threshold_position_maxinteger20Upper bound; also the scoring ceiling (D-03 invariant).
threshold_impressionsinteger100Minimum impressions per row to qualify.
threshold_max_ctrnumber100CTR % ceiling passed as maxCtr (D-16: the tool's hidden default is 2 %; 100 = no CTR filter).
top_ninteger50Cap on rows written into quick_wins.
aio_checkbooleantrueFetch AI-Overview presence (+ own-domain citation) for the top aio_top_k queries (GAP-M2; ON by default since S-18).
aio_top_kinteger20How many provisional top queries to AIO-check (only when aio_check).

Budget + consent (aio_check)

budget.uses_paid_mcp/estimated_credits in the frontmatter describe the DEFAULT path, which since S-18 checks AIO for the top aio_top_k priority queries with the paid mcp__dataforseo__serp_organic_live_advanced: estimated ~0.07–0.14 credits (K=20 × 0.0035). Without it the estimate is blind to AI Overviews (Seer: no AIO 3.35% CTR / AIO + cited 2.07% / AIO + not cited 0.94%). aio_check=false keeps the free path; unchecked queries are then priced with the market's AIO rate when known (--market TR → 23%, Seobaz). The runtime budget pre-flight applies (reuse the aio-competitor-map DURUR #1 pattern). Consent is NOT required for aio_check: it is a read-only SERP fetch, and consent gates outward/irreversible actions only — say so to the operator rather than blocking.

Outputs (artifacts produced)

  • projects/{slug}/master.xlsx#quick_wins — top-N quick-win rows (10 cols, schema-locked).
  • projects/{slug}/master.xlsx#opportunity — aggregated per-query opportunity scores.
  • projects/{slug}/outputs/reports/{date}-quickwin.md — human-readable summary.
  • projects/{slug}/_state/events.jsonl — event_kind=provenance entries (source.kind=gsc_mcp).
  • projects/{slug}/inbox/gsc/{date}-detect_quick_wins-{slug}.json — raw MCP payload (drift recovery).
  • projects/{slug}/inbox/gsc/{date}-enhanced_search_analytics-{slug}.json — raw enrichment payload.

10-Step Body Protocol

Each step name must match the steps[*].name passed to workflow_runner.create_run. Names are stable identifiers across runs.

Step 1 — create_run

Open a workflow run shell. The state file lives at projects/{slug}/_state/workflows/{run_id}.json (ADR-021, ADR-019).

python
from scripts.state import workflow_runner
handle = workflow_runner.create_run(
    skill="quick-wins",
    project_slug=project_slug,
    steps=[
        {"name": "fetch_quick_wins"},
        {"name": "fetch_enriched"},
        {"name": "transform"},
        {"name": "fetch_aio_presence"},  # GAP-M2 — only runs when aio_check=true
        {"name": "request_approval"},
        {"name": "write_excel"},
        {"name": "cohort_snapshot"},  # GAP-M-W2 — R-138 treated+control snapshot
        {"name": "render_report"},
    ],
)

Step 2 — fetch_quick_wins (MCP §16.5 step 3 — raw inbox first)

python
workflow_runner.start_step(handle.run_id, 0,
                           project_slug=project_slug)
raw = mcp__gsc__detect_quick_wins(
    siteUrl=project_config["gsc"]["site_url"],
    **gsc_window.recent_window(today, days_back).as_params(),  # D-04: ends today-3
    positionRangeMin=threshold_position_min,
    positionRangeMax=threshold_position_max,
    minImpressions=threshold_impressions,
    maxCtr=threshold_max_ctr,   # D-16: explicit — the tool silently applies 2 % otherwise
)
inbox_path = (
    workspace_root / "projects" / project_slug
    / "inbox" / "gsc"
    / f"{today.isoformat()}-detect_quick_wins-{project_slug}.json"
)
inbox_path.parent.mkdir(parents=True, exist_ok=True)
inbox_path.write_text(json.dumps(raw, ensure_ascii=False, indent=2))
workflow_runner.finish_step(handle.run_id, 0,
                            project_slug=project_slug,
                            output_ref=str(inbox_path))

Step 3 — fetch_enriched (optional enrichment)

mcp__gsc__enhanced_search_analytics with the same date window. Persist to inbox/gsc/{date}-enhanced_search_analytics-{slug}.json. Failure is non-fatal — the transform tolerates enriched=None.

Step 4 — transform

Pure compute via scripts/discovery/quickwins_transform.py:

bash
python3 scripts/discovery/quickwins_transform.py \
    --raw  inbox/gsc/{date}-detect_quick_wins-{slug}.json \
    --enriched inbox/gsc/{date}-enhanced_search_analytics-{slug}.json \
    --top-n 50 \
    --threshold-position-max 20 \
    --threshold-position-min 11 \
    --ctr-curve ctr-curve.json \
    --aio-presence inbox/dfs/{date}-aio_presence-{slug}.json \
    --market {project.config market} \
    --output-dir _state/transform/{run_id}/

Produces two JSON arrays (quick_wins, opportunity) shaped to the master-excel schema. URL normalization (D-03) is applied here, not at fetch time, so the raw inbox copy is byte-faithful to the MCP response. --ctr-curve defaults to the engine-root ctr-curve.json; --aio-presence is omitted on pass-1 (no aio_check) and supplied on pass-2 after fetch_aio_presence writes the consolidated presence map.

Step 4b — fetch_aio_presence (optional; only when aio_check=true)

Two-pass discipline (GAP-M2). After the pass-1 transform, for the provisional top-aio_top_k queries call mcp__dataforseo__serp_organic_live_advanced(keyword=query, language_code=…, location_name=…, depth=10). Persist the consolidated raw to projects/{slug}/inbox/dfs/{date}-aio_presence-{slug}.json (raw-inbox- first), keyed by query, each value {aio_presence, own_domain_cited, checked_date, detection_source} (derive presence via the aio-competitor-map build_serp_aio contract — references[] only, R-140; MCP-sync may record present/not_detected, never asserting absence). Then re-run the pass-2 transform with --aio-presence <that path>. Provenance event: event_kind=provenance, source.kind=dataforseo_mcp, operation=ingest, target_table="dfs_aio_presence", cost={"provider":"dataforseo", "credits": K*0.0035}. The transform helper load_aio_presence(path) maps query → presence-info; queries missing from the file stay unchecked (unchecked ≠ not_detected, R-140).

Step 5 — request_approval (skill EXIT awaiting_approval)

python
workflow_runner.request_approval(
    handle.run_id, project_slug=project_slug,
    approver="user",
    subject=f"Top-{top_n} quick-wins seçildi, master.xlsx'e yazalım mı?",
    step_index=3,
)
# Skill exits here. The user replies in a fresh session; resume below.

Step 6 — Resume (approve → continue)

python
workflow_runner.approve(handle.run_id, project_slug=project_slug,
                        approver="user")

Step 7 — write_excel (atomic, schema-validated)

Two idempotent committer.commit calls — one per sheet (replace — re-running refreshes the snapshot, never duplicates rows; routes through transaction.py: backup + lock + schema validation + provenance).

python
from scripts.orchestration import committer
committer.commit(
    workbook_path=workspace_root/"projects"/project_slug/"master.xlsx",
    sheet="quick_wins",
    rows=quick_wins_rows,
    run_id=handle.run_id,
    project_slug=project_slug,
    writer="quick-wins",
)
committer.commit(
    workbook_path=workspace_root/"projects"/project_slug/"master.xlsx",
    sheet="opportunity",
    rows=opportunity_rows,
    run_id=handle.run_id,
    project_slug=project_slug,
    writer="quick-wins",
)

Step 7b — cohort_snapshot (intervention cohort tagging, measurement-discipline R-138)

Persist the treated + control cohort the transform matched, so a later monthly-report can compute a treated-vs-control OUTCOME (never a raw treated delta — measurement-discipline R-138). The treated group is the selected quick-wins; the control group is transform()'s control_cohort (same-band, untouched queries — position within ±2 and impressions within 0.5×–2× of a treated row). This is staging JSON ONLY — no master.xlsx write.

python
import json
from scripts.state import events_writer

# `result` is the transform() output: quick_wins + control_cohort + meta.
treated = [
    {"query": r["query"], "url": r["url"], "position": r["current_position"],
     "impressions_30d": r["impressions_30d"], "clicks_30d": r["clicks_30d"]}
    for r in result["quick_wins"]
]
cohort = {
    "cohort_date": today.isoformat(),
    "score_version": result["meta"]["score_version"],
    "treated": treated,
    "controls": result["control_cohort"],
    "matching": result["meta"]["cohort_matching"],
}
cohort_path = (
    workspace_root / "projects" / project_slug
    / "_state" / "metrics" / "quickwin-cohorts"
    / f"{today.isoformat()}-cohort.json"
)
cohort_path.parent.mkdir(parents=True, exist_ok=True)
cohort_path.write_text(json.dumps(cohort, ensure_ascii=False, indent=2))

# Provenance: tool-computed staging record (no Excel sheet target).
events_writer.append_provenance(
    project_id=project_slug,
    source={"kind": "tool_computed", "tool": "quickwins_transform"},
    operation="staging",
    target_excel_sheet=None,
    target_table="quickwin_cohort",
    notes="cohort_tagged",
)

The cohort file is read ≥21 days later by scripts/reporting/intervention_outcome.py (paired with a fresh GSC payload) → monthly-report's measurement_context.

Step 8 — render_report

render_template.py templates/reports/quickwin.template.md data.json → outputs/reports/{date}-quickwin.md. Variables: $project_slug, $date, $top_n, $total_opportunities, $top_query, $top_url, $top_uplift (GAP-M3 expected_uplift_clicks), $top_score (legacy headroom tiebreak), $aio_present_count (GAP-M2), $top_position, $top_action, $report_summary.

Step 9 — Provenance event

python
from scripts.state import events_writer
events_writer.append_provenance(
    project_id=project_slug,
    source={"kind": "gsc_mcp", "mcp_server": "gsc",
            "mcp_tool": "gsc__detect_quick_wins",
            "response_bytes": len(json.dumps(raw))},
    operation="project_excel",
    target_excel_sheet="quick_wins",
    rows_written=len(quick_wins_rows),
)

Step 10 — complete

python
workflow_runner.complete(handle.run_id, project_slug=project_slug, outputs={
    "top_n": len(quick_wins_rows),
    "report_path": str(report_path),
    "raw_jsons": [str(inbox_path), str(enriched_path)],
})

URL normalization (D-03 invariant)

Every URL passing through this skill is normalized via scripts.discovery.quickwins_transform.normalize_url. The function is idempotent: normalize_url(normalize_url(u)) == normalize_url(u). Rules: lowercase scheme+host, IDN→punycode, strip default ports, strip trailing slash (root excluded), drop fragment, drop tracking params, sort remaining query keys.

Opportunity score (GAP-M3 — expected-CTR-uplift model)

Rows are ranked by expected_uplift_clicks (28-day): the modelled click gain from moving a page-2 query onto page 1, discounted when an AI Overview is present. The formula + a worked example (all curve constants live inside this fence — R-139):

text
target = min(10, max(5, position - 5))     # page-1 bottom half, never top-3
ctr_t  = curve.expected_ctr(target) * curve.aio_factor(target, aio_presence)
expected_uplift_clicks = max(0, round(impressions * ctr_t - current_clicks))

# Worked example (frozen curve):
#   pos 12, 1000 impressions, 10 clicks, aio unchecked:
#     target=7 -> ctr(7)=0.030 -> 1000*0.030 - 10 = 20
#   same row, AIO present (position-7 discount factor 0.703):
#     1000*0.030*0.703 - 10 = 11
#   (unchecked / not_detected -> factor 1.0, NO discount — R-140 honesty)

All CTR/discount numbers come from the versioned ctr-curve.json + schemas/ctr-curve.schema.json (loader scripts/util/ctr_curve.py), never literal copies in the transform/SKILL body — R-139 (grep-sentinel-tested). Observed clicks are subtracted so an already-converting row does not double-count. The legacy headroom score impressions * max(0, threshold_position_max - position) is RETAINED as the deterministic ranking tiebreaker #2 (then query asc, url asc) and as the opportunity sheet's opportunity_score column (no column re-semantics).

AIO presence columns (R-140). quick_wins gains K aio_presence (present/not_detected/unchecked; absence is never asserted), L aio_own_cited, M aio_checked_date, N expected_uplift_clicks; opportunity gains I aio_presence, J expected_uplift_clicks. With aio_check=false every row is unchecked / false / "" plus the computed uplift; unchecked ≠ not_detected.

DURUR conditions (11)

Stop and flag the manager — do not patch, do not fall back.

  1. mcp__gsc__detect_quick_wins returns auth/network/scope error.
  2. Raw JSON inbox path cannot be created (workspace path missing).
  3. URL normalization output drifts from schema (mismatch invariant).
  4. master.xlsx#quick_wins column count or names don't match schema.
  5. committer.commit raises RowSchemaError.
  6. workflow_runner.create_run fails schema validation.
  7. PSEO_WORKSPACE_ROOT env unset and no workspace_root arg passed.
  8. project.config.json missing gsc.site_url.
  9. quickwins_transform.py output is not schema-shaped.
  10. F-08 (quick_wins.url ⊆ crawl_sitemap.url ∪ gsc_performance.url) fails — flag Wave 2 drift-check to expect a RED.
  11. ctr-curve.json missing or schema-invalid (GAP-M3) — the scorer DURURs; no silent fallback to the legacy headroom formula (load_curve raises CurveLoadError). Cite R-139.

Cross-references

  • Schemas: schemas/master-excel.schema.json (quick_wins K–N, opportunity I–J, definitions), schemas/events.schema.json, schemas/cross-sheet-invariants.json (D-03 + F-08 invariants), schemas/skill-frontmatter.schema.json, schemas/ctr-curve.schema.json.
  • Data: ctr-curve.json (engine-root versioned CTR/AIO curve — R-139).
  • Rules: rules/measurement-discipline.md R-138 (intervention cohort tagging — Step 7b treated+control snapshot + control_cohort transform output), R-139 (versioned measurement constants), R-140 (AIO presence recording — present/not_detected only).
  • Cross-modules: scripts/state/workflow_runner.py, scripts/excel/transaction.py, scripts/state/events_writer.py, scripts/reporting/render_template.py, scripts/util/ctr_curve.py.
  • Transform: scripts/discovery/quickwins_transform.py.
  • Tests: tests/skills/test_quick_wins.py (8 cases incl. live MCP).
  • Template: templates/reports/quickwin.template.md.

Query mismatch and business-value order (O-16 / O-17)

After the transform, two report sections (no extra paid calls):

  • Query mismatch — scripts/discovery/query_mismatch.find_mismatches(targets, gsc_rows) with targets = {url: target keyword} from new_content_plan / topical_map and gsc_rows = the query×page pull (dimensions="query,page"). A page whose top-impression query shares < 0.5 of its words with the target becomes a rewrite task at position 8-15 (H1, meta, first 100 words toward the real query) or check_aio at 1-3 with CTR < 5 % (do not touch the title first).
  • Business value — scripts/discovery/commercial_priority.rank(rows) with each row's keyword, position, CPC and the top-3 organic URLs from the DFS SERP pull (already fetched for the AIO check). Score = intent (commercial when 2+ of the top 3 are category/product/service pages) × winnability × CPC as value. The report orders actions by this score, not by traffic.

GSC row limit and window (D-01 / D-04)

Every mcp__gsc__search_analytics / mcp__gsc__enhanced_search_analytics call passes rowLimit=gsc_window.GSC_ROW_LIMIT (25,000 — the tool default is 1,000 and it cannot page) and takes its dates from scripts/util/gsc_window.py (recent_window / comparison_windows: end = today-3, windows never overlap). A response whose row count sits on a cap (gsc_window.truncation(raw)) is cut: narrow the window or add a page/query filter before using it.

よくある質問

AIスキル「Quick Wins」では何ができますか?

Use when: kullanıcı "quick win", "hızlı kazanım", "kolay yükselebilecek sayfalar", "low-hanging fruit", "pozisyon 11-20", "CTR düşük yüksek impression" der ya da /pseo-quickwin çağırır. Also use when: aktif projenin GSC verisi master.xlsx'te mevcut; opportunity scoring yapılacak; kullanıcı sıralamada yükselebilecek fırsatlar arıyor. Do not use when: yeni içerik planı (new-content-plan), içerik decay (content-decay), tech audit (tech-audit), cannibalization analizi gerekiyor — ayrı discovery skill'leri.

TypingMindでQuick Winsを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Quick Winsはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにQuick Winsをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/popiliadam/platinum-seo-engine/tree/main/skills/discovery/quick-winsを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Quick Winsを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Quick Winsで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもQuick Winsを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Quick Wins」は無料ですか?

はい。popiliadamがAGPL-3.0ライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇