Logo de Citoid Publisher Diagnostics

Citoid Publisher Diagnostics

Comunidade
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.

Visão geral

Publicado porfuzheado
RepositórioWikipedia-AI-Skills
Nome da habilidadecitoid-publisher-diagnostics
Estrelas
27
Forks
10
Arquivos incluídos
4
LicençaMIT
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Arquivos incluídos: 4

    Scripts, templates e referências que o modelo pode ler enquanto trabalha. Os arquivos são somente para leitura e nunca são executados.

  • Código aberto

    Publicada por fuzheado no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Citoid Publisher Diagnostics no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/fuzheado/Wikipedia-AI-Skills/tree/main/.claude/skills/citoid-publisher-diagnostics
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

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
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Citoid Publisher Diagnostics em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Citoid Publisher Diagnostics automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Citoid Publisher Diagnostics não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

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

Arquivos incluídos

O modelo lê esses arquivos sob demanda enquanto a habilidade está carregada. Eles são disponibilizados para leitura e nunca são executados.

Perguntas frequentes

O que a habilidade de IA Citoid Publisher Diagnostics faz?

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.

Por que usar Citoid Publisher Diagnostics no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Citoid Publisher Diagnostics é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Citoid Publisher Diagnostics no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/fuzheado/Wikipedia-AI-Skills/tree/main/.claude/skills/citoid-publisher-diagnostics. O TypingMind lê o arquivo SKILL.md, reúne os arquivos da habilidade e a instala para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Citoid Publisher Diagnostics?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Citoid Publisher Diagnostics?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Citoid Publisher Diagnostics com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Citoid Publisher Diagnostics é gratuita?

Sim. A habilidade é publicada no GitHub por fuzheado sob a licença MIT. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇