Logo de Rss Feed Generator

Rss Feed Generator

Organização
OpenLinkSoftware
rss-feed-generator

Generate valid RSS 2.0 or Atom 1.0 feeds from web pages that contain post lists but lack a native feed. Triggers on phrases like "generate a feed for", "create an RSS feed from", "make an Atom feed for", "this page has no RSS", or any request to produce a feed URL or feed XML from a blog/news/post-list page. The skill fetches the page, extracts post metadata, and outputs well-formed feed XML plus a self-hostable HTML wrapper with an embedded feed discovery link tag.

Visão geral

Publicado porOpenLinkSoftware
Repositórioai-agent-skills
Nome da habilidaderss-feed-generator
Estrelas
42
Forks
10
Arquivos incluídos
6
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

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

  • 6 arquivos incluídos

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

  • Código aberto

    Publicada por OpenLinkSoftware no GitHub. Leia o conteúdo-fonte antes de instalar.

Instalação

Instale a habilidade de IA Rss Feed Generator 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 da pasta da habilidade exibida abaixo e confirme.
    https://github.com/OpenLinkSoftware/ai-agent-skills/tree/main/rss-feed-generator
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Nova habilidade → Via URL 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/OpenLinkSoftware/ai-agent-skills.git /tmp/ai-agent-skills
mkdir -p .claude/skills
cp -r /tmp/ai-agent-skills/rss-feed-generator .claude/skills/rss-feed-generator
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Rss Feed Generator 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 Rss Feed Generator 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, Rss Feed Generator 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á.

RSS / Atom Feed Generator (v1.0.0)

Generates valid RSS 2.0 or Atom 1.0 XML feeds from any web page that lists posts, articles, or news items but does not publish its own feed.


Defaults & Settings

ParameterDefault value
Preferred formatRSS 2.0 (Atom 1.0 on request)
Max items20 (most-recent first)
Date fallbackPage scrape date (ISO 8601, UTC)
DescriptionFirst 280 chars of post excerpt/lede
EncodingUTF-8
Output modesRaw XML · HTML page · Both
Interaction styleFriendly and professional

Feed Generation Harness Mode

Use Feed Generation Harness Mode whenever the user asks to generate, refresh, repair, or self-host an RSS/Atom feed from a web page.

Harness mode constrains interpretation to feed production. Do not drift into a generic page summary or link list when a feed artifact is requested.

Harness Contract

When active:

  1. Template match first — match the request to the predefined feed trigger templates before any fetch or generation.
  2. Discover before generating — check for existing RSS/Atom feeds via HTML <link rel="alternate">, HTTP Link headers where available, and common feed paths before synthesizing a new feed.
  3. Extract canonical post items — collect absolute post URLs, titles, dates when available, authors when available, and stable descriptions/excerpts.
  4. Generate valid XML — use the RSS 2.0 or Atom 1.0 templates, with absolute links, canonical GUID/ID values, valid dates, and UTF-8 encoding.
  5. HTML wrapper when requested — include a self-hostable wrapper with embedded feed discovery metadata and clear download/open links.
  6. Validation gate — run the validation checklist from references/validation-checklist.md; do not deliver until XML structure, required channel/feed fields, item IDs, dates, and absolute links pass.
  7. Provenance — state source page URL, generation time, item count, format, and whether the feed was discovered or synthesized.

Predefined Prompt Templates

Always match the user's input to a trigger template before executing or falling back to general LLM knowledge. Substitute {url} with the URL provided by the user.

#User says …Action
T1"Generate an RSS/Atom feed for {url}"Fetch page → detect posts → emit XML
T2"This page has no feed: {url}"Same as T1
T3"Create a feed from {url}"Same as T1
T4"Convert {url} posts to RSS"Same as T1
T5"Make a self-hostable feed for {url}"Emit XML + HTML wrapper
T6"Update / refresh the feed for {url}"Re-scrape and re-emit

If no trigger phrase matches, fall through in this order: direct native execution → REST function execution → Terminal-owned OAuth flow → MCP → authenticated chatPromptComplete → OPAL Agent routing.


Execution Routing

Default execution order for REST/OpenAPI interactions:

  1. WEB_FETCH and other functions via URIBurner REST
  2. Terminal-owned OAuth flow — when the endpoint requires OAuth 2.0 authentication, execute the OAuth flow from the terminal (authorization code, client credentials, or device flow), capture the Bearer token, and inject it into subsequent REST/OpenAPI calls via Authorization: Bearer {token} headers
  3. MCP via https://linkeddata.uriburner.com/chat/mcp/messages or https://linkeddata.uriburner.com/chat/mcp/sse
  4. Authenticated LLM-mediated execution via https://linkeddata.uriburner.com/chat/functions/chatPromptComplete
  5. OPAL Agent routing using recognizable OPAL function names
  6. Direct curl or wget as last resort

If the user's prompt expresses a protocol preference, follow that preference instead of the default order. See references/protocol-routing.md for exact endpoint patterns.


Order of Operations

⛔ PRE-BUILD CHECK: Before producing output, re-read the relevant workflow section above and re-read any checklists or verification gates defined in this skill. Confirm each checklist item before writing output. Build to pass — do not retro-fit. Apply the CLAUDE.md Anti-Drift Protocol: re-read spec section before build, gate-first validation, section-by-section delivery.

  1. Page Fetch — Retrieve the target URL by invoking the WEB_FETCH function (defined in https://linkeddata.uriburner.com/chat/functions/openapi.yaml, endpoint /WEB_FETCH). Use whichever available protocol applies — REST, MCP, OPAL, or curl. Required parameter: url. Optional: headers, max_redirects, timeout_seconds. WEB_FETCH retrieves the page just like a web browser and returns the full page content for subsequent processing. See protocol-routing.md for exact invocation patterns per protocol.
  2. Feed Discovery — Check <link rel="alternate"> tags. If a feed already exists, report it and stop (offer to proxy/mirror instead).
  3. Post Extraction — Use the heuristics in references/extraction-rules.md to identify post entries (title, URL, date, author, summary).
  4. Feed Assembly — Build XML using the templates in references/feed-templates.md. Validate structure against the checklist in references/validation-checklist.md.
  5. Output — Present the feed XML in a code block; optionally wrap in the HTML discovery page template from references/html-wrapper-template.md.
  6. Download Link — Save the .xml file to /mnt/user-data/outputs/ and present it with present_files.

Extraction Heuristics (summary — full rules in references/)

Structural signals to look for

  • Repeated <article>, <li>, or <div> blocks with consistent class names (e.g., post, entry, article, blog-post, card)
  • <h1>/<h2>/<h3> headings inside each block → item title
  • <a href> on or near the heading → item link (resolve relative URLs)
  • <time datetime="…"> or text matching date patterns → pubDate
  • First <p> inside the block (≤280 chars) → description / summary
  • <span class="author"> or byline text → author

Date handling

SituationStrategy
<time datetime="…">Use ISO value directly
Human-readable date textParse with locale awareness; emit RFC 822
No date foundUse today's date (UTC) with a <!-- estimated --> comment
Relative ("3 days ago")Calculate from scrape time

URL normalisation

All item <link> values must be absolute. Resolve against the page's <base href> if present, otherwise against the origin of the page URL.


Feed Format Specs

RSS 2.0 required elements

<rss version="2.0">
  <channel>
    <title>, <link>, <description>   ← required channel fields
    <item>
      <title>, <link>, <guid>        ← required per item
      <pubDate>                      ← RFC 822 (e.g. Mon, 01 Jan 2024 00:00:00 +0000)
      <description>                  ← plain text or CDATA-wrapped HTML

Atom 1.0 required elements

<feed xmlns="http://www.w3.org/2005/Atom">
  <title>, <id>, <updated>           ← required feed fields
  <entry>
    <title>, <id>, <updated>         ← required per entry
    <link href="…" rel="alternate"/> ← post URL
    <summary> or <content>           ← excerpt or full body

Full templates → references/feed-templates.md


Output Modes

ModeDescription
xmlRaw feed XML in a fenced code block
fileSave to /mnt/user-data/outputs/<slug>-feed.xml and present link
htmlHTML discovery page with <link rel="alternate"> + embedded XML
bothfile + html wrapper saved as <slug>-feed-page.html

Default: file (saves XML and presents download link).


Error Handling

ProblemResponse
Page returns non-200Report HTTP status; suggest checking URL or auth
No repeating post structure foundShow raw HTML skeleton; ask user to identify the pattern
Feed already existsReport the existing feed URL; offer to mirror/augment
Dates unparseableUse today's date; flag items with <!-- date-estimated -->
Relative URLs unresolvableAsk user for the site's base URL

Commands

CommandDescription
/helpUsage guidance for this skill
`/format [rssatom]`
/limit [n]Set maximum number of feed items
/fulltextAttempt to embed full post body (fetches each post URL)
/validateRun checklist from references/validation-checklist.md
/previewShow first 3 items as formatted Markdown before XML

Operational Rules

  1. Always check for an existing feed before generating a synthetic one.
  2. Never fabricate post content — only use text found on the page.
  3. Escape &, <, > in text nodes; use CDATA for HTML description bodies.
  4. All <guid> / Atom <id> values must be the canonical post URL.
  5. Sort items newest-first by default (pubDate DESC).
  6. Do not request or store credentials; only scrape publicly accessible pages.
  7. Clearly label generated feeds as synthetic (add <generator> tag).
  8. Respect robots.txt — do not scrape pages that disallow crawlers.

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 Rss Feed Generator faz?

Generate valid RSS 2.0 or Atom 1.0 feeds from web pages that contain post lists but lack a native feed. Triggers on phrases like "generate a feed for", "create an RSS feed from", "make an Atom feed for", "this page has no RSS", or any request to produce a feed URL or feed XML from a blog/news/post-list page. The skill fetches the page, extracts post metadata, and outputs well-formed feed XML plus a self-hostable HTML wrapper with an embedded feed discovery link tag.

Por que usar Rss Feed Generator no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. Rss Feed Generator é escrito 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. O TypingMind usa suas próprias chaves de API, então o pagamento é feito diretamente aos provedores, em vez de uma assinatura por licença de usuário, e suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Rss Feed Generator no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/OpenLinkSoftware/ai-agent-skills/tree/main/rss-feed-generator. 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 Rss Feed Generator?

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 Rss Feed Generator?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Rss Feed Generator 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 Rss Feed Generator é gratuita?

Sim. A habilidade é publicada no GitHub por OpenLinkSoftware 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, modelos de documento 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 para chamar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA fornece conhecimento e um processo ao modelo: 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 todos

Crie seu próprio espaço de IA agora

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