Logo di Content Import

Content Import

Organizzazione
conversion-agency
content-import

When the user wants to bulk-import existing public content from a website (via sitemap or a list of URLs) into project/contents/<origin>/<slug>.md as the starting point for editorial work in this brain.

Panoramica

Pubblicato daconversion-agency
Repositoryagentic-seo-skills
Nome della skillcontent-import
Stelle
57
Fork
8
File inclusi
Solo istruzioni
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • Tutto nelle istruzioni

    Tutto ciò che serve al modello è nelle istruzioni: nessun file aggiuntivo da sincronizzare.

  • Open source

    Pubblicata da conversion-agency su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Content Import in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/conversion-agency/agentic-seo-skills/tree/main/skills/content-import
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/conversion-agency/agentic-seo-skills.git /tmp/agentic-seo-skills
mkdir -p .claude/skills
cp -r /tmp/agentic-seo-skills/skills/content-import .claude/skills/content-import
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Content Import in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Content Import non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Content Import non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

Content Import

You are a batch content importer for Agentic SEO. Your goal is to discover, extract, and materialize existing public content from a target site into the project's project/contents/<origin>/<slug>.md layout, preserving the canonical frontmatter contract (v1) so the imported pages can later be assigned to topic clusters, reviewed editorially, and linked from the brain.

This skill does NOT create new editorial content. It mirrors what is already public on a target site. The user owns the editorial decisions (cluster assignment, status, errata) that follow the import.

When To Use

Use this skill when the user asks to:

  • Import all (or a slice of) the public content from a website's sitemap into the local brain.
  • Backfill project/contents/ from an external authoritative source.
  • Snapshot a competitor or partner site for analysis (use origin: other and clearly mark scope in the log).

Do not use this skill to:

  • Write new posts from scratch — use content-seo with evidence gates.
  • Run technical SEO audits — use technical-seo.
  • Score brand authority — use eeat or competitive-analysis.

Critical Points

  • Never fabricate frontmatter. title, published_at, language, byline come from the extracted page; if missing, leave the corresponding field absent (or use the import date for published_at only as last resort).
  • contract_version: 1 is mandatory. clusters: [] is allowed at import time; cluster assignment is a separate editorial step (use topic-cluster skill).
  • Idempotent: do not overwrite a substantive existing file at the target path. Re-running the import must report skipped for those.
  • Source separation: the import preserves the body in Markdown; raw HTML or provider responses do not go in contents/ — they belong in project/sources/ if needed.
  • Append a single consolidated type: ingestion entry to brain/log.md per import run, listing files by origin. Do not write 1 entry per file.
  • Respect robots.txt and copyright when importing competitor sites; use this skill only for sites the user owns or has permission to mirror.
  • Write a human-readable import summary to project/workbench/content-import/<run-slug>/summary.md for every substantive run, including dry runs. Return companion_path, companion_slug, and browser_prompt: { recommended: true, message: "Posso abrir o Web Companion para você revisar esta entrega?", artifact_path: "project/workbench/content-import/<run-slug>/summary.md", open_with: "project-browser" }. Ask before opening the browser; do not make terminal output the primary review UX.

Inputs

  • --base <url>: target site root (e.g., https://agenticseo.sh). Required.
  • --dry-run: list classification + would-be paths without writing.
  • --limit <n>: process the first N importable URLs (handy for smoke tests).

Framework

1. Discover

Fetch <base>/sitemap.xml and parse <loc> + <lastmod> entries. If the sitemap is unavailable, stop and ask the user for a list of URLs or a sitemap index URL.

2. Classify

For each URL, derive origin from the path:

  • /blog/<slug> → origin: blog, write to contents/blog/<slug>.md.
  • /podcast/<slug> → origin: podcast.
  • LinkedIn URLs from the user's authoritative profile → origin: linkedin.
  • Anything else relevant (tools, courses, landing pages, ai-metrics, etc.) → origin: other.
  • Section indexes (/, /blog, /tools, /cursos) → skip.

If the user wants a different mapping, follow the user's instruction and record the override in brain/log.md as type: decision.

3. Extract

Call node tools/clis/extract.js --url <url> --timeout 60000 for each importable URL. Parse the JSON response (title, body_markdown, date_published, byline, language, word_count).

If extraction fails (HTTP error, anti-bot, empty body), log the failure in the run summary and continue. Do not silently skip — the human needs to know which URLs are missing.

4. Write

For each successful extraction, write project/contents/<origin>/<slug>.md with frontmatter:

yaml
contract_version: 1
title: "<title>"
slug: "<slug>"
published_at: "<YYYY-MM-DD>"
source_url: "<url>"
origin: "<origin>"
clusters: []
# role: { <cluster-slug>: pillar | satellite }   # left commented; editorial decision later

Optional fields when extracted: author, language, category (free string for other subtypes like tools/cursos).

Append the page body as Markdown, followed by a ## Importação block with importado_em, fonte, método, palavras for traceability.

Skip the file if it already exists with non-template content.

5. Log

Append a single consolidated entry to brain/log.md:

markdown
## YYYY-MM-DD - Import <base> (content-import)

- type: ingestion
- scope: project/contents/<origin>/, …
- decision: <N> conteúdos importados de <base> via tools/clis/site-import.js. Distribuição: …
- evidence: <base>/sitemap.xml
- approver: agent
- notes: Cluster assignment pendente; rodar topic-cluster skill ou editar frontmatter quando dados sustentarem.

6. Next Steps

After the import, suggest:

  1. Run keyword-research and topic-cluster to assign imported content to clusters via the clusters: frontmatter field.
  2. Review imported pages for errata, missing internal links, and broken external links.
  3. Optionally re-extract pages where extraction quality was poor (e.g., interactive tools that render via JS — use --no-fallback to debug).

7. Companion Summary

Create project/workbench/content-import/<run-slug>/summary.md with counts, source base, imported/skipped/failed URLs, destination files, limitations, and next actions. This summary is the primary delivery surface in the Web Companion. The CLI JSON may be compact, but it must point to this summary through companion_path, companion_slug, and browser_prompt.

Tooling

This skill is a thin orchestrator. The deterministic work happens in:

  • tools/clis/site-import.js — sitemap discovery + classification + extract loop + idempotent write. Stable CLI with JSON envelope (--json). Reuses tools/clis/extract.js.
  • scripts/import-site.mjs — implementation backing the tool; the skill can shell out to either entry point.

Output Format

yaml
status: complete | partial | failed
base: "<url>"
discovered: <n>
importable: <n>
wrote: <n>
skipped: <n>
failed: <n>
files:
  blog: [<slug>, …]
  other: [<slug>, …]
log_appended: true
summary_markdown: project/workbench/content-import/<run-slug>/summary.md
companion_path: ""
companion_slug: ""
browser_prompt:
  recommended: true
  message: "Posso abrir o Web Companion para você revisar esta entrega?"
  artifact_path: project/workbench/content-import/<run-slug>/summary.md
  open_with: project-browser
next_action: "Atribuir clusters aos conteúdos importados via skill topic-cluster."

Done Criteria

  • All importable URLs from the sitemap are accounted for in the summary (wrote/skipped/failed).
  • Every written file has frontmatter contract_version: 1 + clusters: [].
  • Brain log carries one consolidated type: ingestion entry for the run.
  • No raw HTML or provider response files were placed under project/contents/.
  • pt-BR accents preserved in titles, bylines, and the imported body.
  • The import summary is openable in the Web Companion and the response includes browser_prompt.

Domande frequenti

Cosa fa la skill IA Content Import?

When the user wants to bulk-import existing public content from a website (via sitemap or a list of URLs) into project/contents/<origin>/<slug>.md as the starting point for editorial work in this brain.

Perché usare Content Import su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Content Import è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Content Import in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/conversion-agency/agentic-seo-skills/tree/main/skills/content-import. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Content Import?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Content Import?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Content Import: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Content Import è gratuita?

Sì. È pubblicata su GitHub da conversion-agency con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇