Citoid Publisher Diagnostics 标志

Citoid Publisher Diagnostics

社区
fuzheado
citoid-publisher-diagnostics

This skill should be used when asked to "check if a publisher blocks Citoid", "research a domain's bot blocking", or "verify an unblock"; distinguish access, caching, WAF, and metadata failures.

概览

发布者fuzheado
代码仓库Wikipedia-AI-Skills
技能名称citoid-publisher-diagnostics
星标数
27
复刻数
10
附带文件
4
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 4 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 fuzheado 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Citoid Publisher Diagnostics AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/fuzheado/Wikipedia-AI-Skills/tree/main/.claude/skills/citoid-publisher-diagnostics
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/fuzheado/Wikipedia-AI-Skills.git /tmp/Wikipedia-AI-Skills
mkdir -p .claude/skills
cp -r /tmp/Wikipedia-AI-Skills/.claude/skills/citoid-publisher-diagnostics .claude/skills/citoid-publisher-diagnostics
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Citoid Publisher Diagnostics,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Citoid Publisher Diagnostics。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Citoid Publisher Diagnostics 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Citoid publisher-access diagnostics

Investigate whether citation metadata is reachable, which layer fails, and what evidence supports a remedy. Produce reproducible per-URL findings, not a blacklist inferred from HTTP codes. Use this skill before deciding that a publisher needs outreach or a Zotero translator.

SOP: Diagnose a domain or publisher

1. Recover evidence and define the question

Read existing measurements, raw results, public issue threads, and user corrections before making new requests. Preserve original URLs, dates, endpoint formats, and network locations. Treat old publisher verdicts as historical observations, not current truth. Prefer an explicit UTC timestamp in raw evidence to a filename, filesystem modification time, conversation date, or Citoid accessDate.

Separate these questions:

  • Does production Citoid return metadata for representative articles now?
  • Is the result the requested article, a homepage, a challenge, cached metadata, or an archived fallback?
  • Is failure dependent on path, host, request method, User-Agent, or source network?
  • Is the content accessible but the metadata incomplete or incorrectly extracted?
  • Did an intervention actually change access for the same URLs?

For an access-only request, answer access first. Keep author/date/type defects in a separate section; do not turn successful access into a blocking allegation.

2. Select a small, defensible sample

Start with two or three real article URLs, including one recently published or discovered article and, if available, a historical failing URL. Confirm that the URLs still identify articles. Obtain current links from the publisher, RSS, or a browser when necessary; do not invent slugs.

Use Wikipedia's exturlusage for cited examples, not as a source of necessarily current articles: results can start with very old links. Record the originating wiki and article. Treat homepage tests only as host-level controls, never as substitutes for article tests.

Keep these distinctions explicit:

  • www versus bare host; news, regional, language, and account subdomains;
  • old versus current routes, article versus section page, HTML versus PDF;
  • HTTP-to-HTTPS and cross-domain redirects;
  • query-bearing versus plain URLs, canonical versus /htm or print variants;
  • original publisher URL versus an explicit Wayback URL.

Check publication ownership before extending conclusions from a domain to a publisher group. Report sample counts and exceptions instead of asserting whole-domain coverage.

3. Measure production Citoid first

Use the public endpoint through a Wikimedia wiki:

text
https://en.wikipedia.org/api/rest_v1/data/citation/mediawiki/{percent-encoded-input}
https://en.wikipedia.org/api/rest_v1/data/citation/zotero/{percent-encoded-input}

Encode the entire input with quote(url, safe=""); preserve its query string. Use mediawiki for citation-facing results and zotero when inspecting Zotero-shaped fields. Keep the format constant in before/after comparisons and retain raw JSON: field names and response shapes differ.

Send a descriptive research User-Agent to the Wikimedia API. Do not assume this becomes the User-Agent Citoid sends to publishers; Citoid and the translation server have their own identities.

Pace requests sequentially, initially about one every ten seconds. Honor Retry-After; on repeated 429s, pause or end the run. Record service throttling separately from publisher blocking. Save each result as it arrives. See probe protocol for runnable standard-library examples and the evidence schema.

For every response, inspect:

  • HTTP status, raw error text, elapsed time, and final endpoint URL;
  • returned article title, canonical URL, item type, and publication identity;
  • authors/creators, date, language, and identifiers where relevant;
  • source and any archive URL or archive date;
  • whether the result actually matches the requested article.

Do not classify an HTTP 200 containing "Just a moment", "Verifying Device", "Making sure you're not a bot", or a login title as success. Conversely, do not treat Citoid HTTP 404 as the publisher's HTTP status: it can mean loading or extraction failed.

4. Rule out cache and archive illusions

Label results non-Wayback metadata, Wayback-backed metadata, wrong page/challenge, or failure. A source containing Wayback Machine proves an archived fallback, not a live unblock. source: ["Zotero"] does not prove a fresh origin fetch.

Use a genuinely new article as a stronger freshness check than repeatedly testing a popular old URL. Compare original and innocuous query-parameter variants only when useful, keeping both in the record. A cache-buster is an experiment, not a guaranteed cache bypass: canonicalization or internal caches may discard it, while the publisher may handle the query differently. A random fragment is not sent to the origin.

Do not infer an unblock from an old successful result while novel URLs fail. Do not infer a query-free article fails because only its query-bearing variant failed. Avoid claiming freshness from Cache-Control: no-cache, a response timestamp, or accessDate alone. Seek publisher logs or an operator-controlled endpoint when exact outgoing behavior matters.

5. Reproduce the access layer with controlled direct requests

Keep production results distinct from local probes. A workstation, Toolforge, and WMF production use different networks; Toolforge is not a proxy for production Citoid egress.

On the same URL and network, compare a browser-like baseline with the same baseline plus each stable service identifier:

  1. browser-like baseline;
  2. baseline + Citoid/WMF (mailto:noc@wikimedia.org);
  3. baseline + ZoteroTranslationServer/WMF (mailto:noc@wikimedia.org);
  4. optionally, the HTTP client's ordinary User-Agent.

Use clean requests without a browser session's authentication or challenge cookies. Keep headers, method, redirect behavior, and timing fixed. Repeat a small matrix in reversed order to distinguish a UA effect from time/rate effects. Compare HEAD with GET where redirect resolution or a method rule is suspected; a successful HEAD says nothing about the article body.

Record status, redirect chain, selected headers, content type, byte count, title, and article/challenge signals. Inspect the body even for 200 or unusually large 403 responses. A large HTML response can still be an error template; finding a challenge script or a word such as "login" somewhere in an article is not sufficient by itself.

Inspect raw HTML separately from a JavaScript-rendered browser. A rendered article does not prove server-side Citoid can obtain it. Identify JS challenges, soft login redirects, consent walls, explicit paywalls, and dead URLs without conflating them. Do not bypass them.

6. Localize the cause without overclaiming

ObservationDefensible interpretationNext step
Same-network browser baseline gets article; adding one token reliably gets deniedUA-conditioned denial on the tested routeConfirm repetition; inspect public rules or request WAF logs
All UAs fail locally; Citoid fails tooAccess failure; trigger unresolvedCheck current URL, method, network and challenge body
All UAs work locally; production failsNetwork/client/path difference is plausible, not proven IP blockingSeek publisher-side logs; compare another authorized location
Citoid returns article metadata but no author/dateAccess works; extraction may be deficientInspect available source metadata and translator coverage
Only old links work, with Wayback in sourceArchive recovery, not live accessTest a current article
Origin/CDN headers name a vendorVendor delivery evidence, not proof of the blocking ruleRequest request-ID/rule correlation
Old routes fail; current routes succeedRoute-specific differenceDo not announce a same-URL unblock

Citoid may contact a publisher during redirect/content-type discovery and then delegate to the translation server. A rule allowing only one service can still break the pipeline. Verify current deployment configuration or observed requests instead of assuming an upstream default is deployed.

When evidence suggests a stock UA blocklist, use blocklist attribution. Distinguish detection, analytics exclusion, and enforced denial; distinguish a matching fingerprint from a confirmed installed product. Test only a few controls, not a brute-force bypass search.

7. Choose the correct remedy

  • Confirmed access denial: prepare focused publisher outreach with exact URLs, UTC times, observed errors, and the official allowlisting reference. Ask which rule fired.
  • One service or browser version behaves differently: investigate both service configurations and deployment status. Match stable identifiers in long-lived rules, not a frozen full browser string.
  • Article accessible, metadata missing: inspect HTML meta tags, JSON-LD graphs, application state and DOM bylines. Check existing translator targets, redirects, page types and generic extraction before proposing a new translator. Separate corporate authors from personal names; do not assume JSON-LD is always consumed.
  • URL path fails but DOI works: report separate retrieval paths; DOI metadata is not proof of publisher-HTML access.
  • Dead or wrong URL: repair the sample; do not request a WAF exception based on it.
  • Uncertain: state the unresolved alternatives and the smallest additional measurement needed.

Use reporting and outreach for confidence labels, a compact report, and an allowlisting request. Consult dated case studies for traps discovered in real investigations, not a current publisher-status list.

8. Verify an intervention

Retest the same original article URLs and failing variants using the same endpoint format, then add fresh articles. Record time and provenance, not merely "now works". Include controls for archive fallback and wrong-page success.

Distinguish a source-code merge, released list, site configuration update, deployment, and observed production change. None guarantees the next. Attribute causation only with an operator confirmation, correlated logs, or a controlled change; otherwise report a temporal association. Preserve contradictory results and correct earlier conclusions explicitly.

Guardrails

  • Do not equate "Citoid failed" with "publisher intentionally blocks Wikimedia".
  • Do not generalize from a homepage, one URL, one host, or one network.
  • Do not label missing authors/dates as an access block.
  • Do not infer the exact WAF vendor or rule from HTTP 403/418 alone.
  • Do not treat a successful archive, cache, browser, or DOI path as live origin proof.
  • Do not assume public source configuration has already reached production.
  • Do not bypass paywalls, CAPTCHAs, authentication or anti-bot controls; use low-volume diagnostics and operator cooperation.
  • Keep credentials, cookies, private correspondence, full article dumps and personal network addresses out of public skill/report commits. Publish only necessary, reviewed evidence.
  • Do not send outreach, file issues or submit patches without authorization. Include AI disclosure when posting AI-generated communications on behalf of a user.

References

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Citoid Publisher Diagnostics AI 技能有什么作用?

This skill should be used when asked to "check if a publisher blocks Citoid", "research a domain's bot blocking", or "verify an unblock"; distinguish access, caching, WAF, and metadata failures.

为什么在 TypingMind 中使用 Citoid Publisher Diagnostics?

因为您只需安装一次,就能搭配任何模型使用。Citoid Publisher Diagnostics 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Citoid Publisher Diagnostics?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/fuzheado/Wikipedia-AI-Skills/tree/main/.claude/skills/citoid-publisher-diagnostics。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Citoid Publisher Diagnostics?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Citoid Publisher Diagnostics 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Citoid Publisher Diagnostics 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Citoid Publisher Diagnostics AI 技能免费吗?

是的。fuzheado 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇