Prototipo · Versión preliminar: todos los servidores del registro oficial, sincronizados cada 30 minutos. Inicia sesión con Google para escribir reseñas.Prototipo · se actualiza cada 30 min
PopNx MCPServidores MCP para quienes usan IA · en palabras sencillas

hexo-blog-encrypt Skill

Repositorio ↗

de D0n9X1n★ 10511 skills

Instalar

What it does

Yet, just another hexo plugin for security.

  • Connects Instruction files the AI reads
  • Account or key No key found in README or SKILL.md
  • Category Documentos y escritura
Para autores: añade una insignia a tu README

Si lo creaste tú, pega este código en tu README. La insignia enlaza a esta página.

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/skill/d0n9x1n-hexo-blog-encrypt.svg)](https://mcp.popnx.com/en/skills/d0n9x1n-hexo-blog-encrypt)

Úsalo junto con

Servidores MCP que conectan la IA a servicios para el mismo trabajo

XcodeBuildMCP

XcodeBuildMCP provides tools for Xcode project management, simulator management, and app utilities.

de cameroncookeMuy usado↓ 130,5 mil/sem paquete compartido★ 6,6 milActualizado hace 14 meses

MCP · Conecta un servicioSe ejecuta en tu computadora

XcodeBuildMCP

XcodeBuildMCP provides tools for Xcode project management, simulator management, and app utilities.

de getsentryMuy usado↓ 130,5 mil/sem paquete compartido★ 6,6 milActualizado hace 4 meses

MCP · Conecta un servicioSe ejecuta en tu computadora✓ del servicio · xcodebuildmcp.com

Puter MCP

Puter MCP enables AI tools to interact with Puter: manage files, websites, workers, and more

de HeyPuterMuy usado★ 44,2 milActualizado hace 5 meses

MCP · Conecta un servicioSe ejecuta en la nube✓ del servicio · puter.com

Skills parecidas

Mismo tipo de trabajo, ordenadas como la lista de Skills

Comparado con otros parecidos
Este
hexo-blog-encrypt
MinerUwatermarks-removerobsidian-skillsanysearch-skill
AutorD0n9X1nopendatalabguillaumemeyerkepanoanysearch-ai
Skills11151
Estrellas de GitHub105183.97227.79653.1836906
Último cambio de código14 oct 202618 nov 202617 nov 202615 sept 202613 nov 2026
LicenciaMIT–MITMITApache-2.0

1 skills (conjuntos de instrucciones) de D0n9X1n que la IA lee y sigue · no es un MCP server

En qué se diferencia un Skill de MCP

MCP = las manos

Conecta la IA a un servicio o dato externo, como leer Notion o crear una factura. Necesita un programa o servidor en marcha.

Skill = el manual

Un archivo de texto que enseña a la IA cómo hacer una tarea. No se conecta a nada.

A veces se parecen: algunas Skills ejecutan scripts que llaman herramientas y algunos MCP solo envían conocimiento. Empieza por la tarea que quieres hacer.

Funciona con

El autor no lo indica · los skills con SKILL.md funcionan en apps compatibles con Agent Skills, como Claude Code, Codex y Cursor

Instalar

Is it safe?

  • Who made it

    GitHub account D0n9X1n (person), 13 years old

  • Use and upkeep

    ★ 1051 stars · code last changed 14 oct 2026

  • Any scripts?

    No, plain text files the AI reads and follows

  • Uses the internet?

    No scripts, so it does not go online by itself

  • Changes machine-wide settings?

    No hooks or writes to machine settings found

Checked automatically from the repo files at commit 1e1ae52 (read only, nothing was run). Not a safety guarantee: read it and decide for yourself

Primero: ¿qué IA usas?

Elige tu app y esta página mostrará solo cómo instalarlo en ella

Option 1Upload to claude.ai (web and app)

Uploading to claude.ai would fail: the description is over 200 characters (385). Use "Let the AI install it" instead

Option 1Deja que Claude Code lo instale

Copia esta frase y pégala en un chat de Claude Code

Where to install
Please install the skill hexo-encrypt-toc from https://github.com/d0n9x1n/hexo-blog-encrypt folder skills/hexo-encrypt-toc (commit 1e1ae52) for all my projects, at ~/.claude/skills/hexo-encrypt-toc. First show me every file and tell me whether it has scripts or changes machine settings, then tell me the full path you will install to and wait for me to agree.
Please install the skill hexo-encrypt-toc from https://github.com/d0n9x1n/hexo-blog-encrypt folder skills/hexo-encrypt-toc (commit 1e1ae52) into the project this chat is open in (at .claude/skills/hexo-encrypt-toc). First show me every file and tell me whether it has scripts or changes machine settings, then tell me the project name and the full path you will install to and wait for me to agree.

For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing

The AI tells you what it will do first and asks your permission at every step

Vuelve a abrir Claude Code y escribe /hexo-encrypt-toc, o pide una tarea relacionada y Claude lo usará

Checked against official docs 12 nov 2026 · Source: code.claude.com

For Terminal users

Un Skill son instrucciones que la IA seguirá. Lee los archivos antes de instalar e instala solo de autores de confianza.

  1. Abre la Terminal

    Mac: pulsa Command+Espacio y escribe Terminal · Windows: el comando no funciona en PowerShell; usa «Que la IA lo instale» arriba

  2. Copia la carpeta del skill a ~/.claude/skills

    Descarga el repo a una carpeta temporal y copia solo las carpetas con SKILL.md

    git clone --depth 1 https://github.com/d0n9x1n/hexo-blog-encrypt.git /tmp/popnx-skill-d0n9x1n-hexo-blog-encrypt-1e1ae52 && mkdir -p ~/.claude/skills && cp -R '/tmp/popnx-skill-d0n9x1n-hexo-blog-encrypt-1e1ae52/skills/hexo-encrypt-toc' ~/.claude/skills/hexo-encrypt-toc
  3. Vuelve a abrir Claude Code y escribe /hexo-encrypt-toc, o pide una tarea relacionada y Claude lo usará

Las skills que instalas tú funcionan en la app de escritorio de ChatGPT, en Codex CLI y en la extensión de Codex para el IDE · ChatGPT en la web y el móvil no puede usar skills instaladas por ti, solo las que vienen con un plugin del directorio

App de escritorio de ChatGPT

La app de escritorio de ChatGPT incluye Codex, y Codex lee las skills de la carpeta ~/.agents/skills

Option 1Deja que ChatGPT lo instale

Abre Codex en la app de escritorio de ChatGPT y pega esta frase en el chat

Where to install
Please install the skill hexo-encrypt-toc from https://github.com/d0n9x1n/hexo-blog-encrypt folder skills/hexo-encrypt-toc (commit 1e1ae52) for all my projects, at ~/.agents/skills/hexo-encrypt-toc. First show me every file and tell me whether it has scripts or changes machine settings, then tell me the full path you will install to and wait for me to agree.
Please install the skill hexo-encrypt-toc from https://github.com/d0n9x1n/hexo-blog-encrypt folder skills/hexo-encrypt-toc (commit 1e1ae52) into the project this chat is open in (at .agents/skills/hexo-encrypt-toc). First show me every file and tell me whether it has scripts or changes machine settings, then tell me the project name and the full path you will install to and wait for me to agree.

The AI always shows you the path before installing

The AI tells you what it will do first and asks your permission at every step

Option 2Coloca la carpeta tú mismo

Coloca la carpeta hexo-encrypt-toc en ~/.agents/skills/hexo-encrypt-toc

~ es tu carpeta de inicio ($HOME)

For Terminal users

Un Skill son instrucciones que la IA seguirá. Lee los archivos antes de instalar e instala solo de autores de confianza.

  1. Abre la Terminal

    Mac: pulsa Command+Espacio y escribe Terminal · Windows: el comando no funciona en PowerShell; usa «Que la IA lo instale» arriba

  2. Copia la carpeta del skill a ~/.agents/skills

    Descarga el repo a una carpeta temporal y copia solo las carpetas con SKILL.md

    git clone --depth 1 https://github.com/d0n9x1n/hexo-blog-encrypt.git /tmp/popnx-skill-d0n9x1n-hexo-blog-encrypt-1e1ae52 && mkdir -p ~/.agents/skills && cp -R '/tmp/popnx-skill-d0n9x1n-hexo-blog-encrypt-1e1ae52/skills/hexo-encrypt-toc' ~/.agents/skills/hexo-encrypt-toc

Después de instalar

  • App de escritorio de ChatGPT: abre Skills en la barra lateral para ver que la skill está
  • Para usarla: en ChatGPT escribe @ y elige la skill · en Codex CLI o la extensión del IDE ejecuta /skills o escribe $ y el nombre de la skill
  • Codex detecta solo las skills recién instaladas; si una no aparece, reinicia Codex

Checked against official docs 15 nov 2026 · Source: learn.chatgpt.com

ChatGPT en la web y el móvil

Las skills que instalas tú no funcionan aquí; solo las que vienen con un plugin del directorio

Para usar esta skill con ChatGPT, usa la app de escritorio de ChatGPT como se indica arriba

Checked against official docs 15 nov 2026 · Source: learn.chatgpt.com

Option 1Deja que Codex lo instale

Copia esta frase y pégala en un chat de Codex · Sirve en Codex dentro de la app de escritorio de ChatGPT, en Codex CLI y en la extensión del IDE

Where to install
Please install the skill hexo-encrypt-toc from https://github.com/d0n9x1n/hexo-blog-encrypt folder skills/hexo-encrypt-toc (commit 1e1ae52) for all my projects, at ~/.agents/skills/hexo-encrypt-toc. First show me every file and tell me whether it has scripts or changes machine settings, then tell me the full path you will install to and wait for me to agree.
Please install the skill hexo-encrypt-toc from https://github.com/d0n9x1n/hexo-blog-encrypt folder skills/hexo-encrypt-toc (commit 1e1ae52) into the project this chat is open in (at .agents/skills/hexo-encrypt-toc). First show me every file and tell me whether it has scripts or changes machine settings, then tell me the project name and the full path you will install to and wait for me to agree.

For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing

The AI tells you what it will do first and asks your permission at every step

Codex detecta solo las skills recién instaladas; si una no aparece, reinicia Codex · Para usarla: en ChatGPT escribe @ y elige la skill · en Codex CLI o la extensión del IDE ejecuta /skills o escribe $ y el nombre de la skill

Checked against official docs 15 nov 2026 · Source: learn.chatgpt.com

For Terminal users

Un Skill son instrucciones que la IA seguirá. Lee los archivos antes de instalar e instala solo de autores de confianza.

  1. Abre la Terminal

    Mac: pulsa Command+Espacio y escribe Terminal · Windows: el comando no funciona en PowerShell; usa «Que la IA lo instale» arriba

  2. Copia la carpeta del skill a ~/.agents/skills

    Descarga el repo a una carpeta temporal y copia solo las carpetas con SKILL.md

    git clone --depth 1 https://github.com/d0n9x1n/hexo-blog-encrypt.git /tmp/popnx-skill-d0n9x1n-hexo-blog-encrypt-1e1ae52 && mkdir -p ~/.agents/skills && cp -R '/tmp/popnx-skill-d0n9x1n-hexo-blog-encrypt-1e1ae52/skills/hexo-encrypt-toc' ~/.agents/skills/hexo-encrypt-toc
  3. Vuelve a abrir Codex y pide una tarea relacionada; Codex mostrará el skill

Option 1Deja que Cursor lo instale

Copia esta frase y pégala en un chat de Cursor

Where to install
Please install the skill hexo-encrypt-toc from https://github.com/d0n9x1n/hexo-blog-encrypt folder skills/hexo-encrypt-toc (commit 1e1ae52) for all my projects, at ~/.cursor/skills/hexo-encrypt-toc. First show me every file and tell me whether it has scripts or changes machine settings, then tell me the full path you will install to and wait for me to agree.
Please install the skill hexo-encrypt-toc from https://github.com/d0n9x1n/hexo-blog-encrypt folder skills/hexo-encrypt-toc (commit 1e1ae52) into the project this chat is open in (at .cursor/skills/hexo-encrypt-toc). First show me every file and tell me whether it has scripts or changes machine settings, then tell me the project name and the full path you will install to and wait for me to agree.

For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing

The AI tells you what it will do first and asks your permission at every step

En el chat Agent de Cursor escribe / y elige hexo-encrypt-toc

Checked against official docs 12 nov 2026 · Source: cursor.com

For Terminal users

Un Skill son instrucciones que la IA seguirá. Lee los archivos antes de instalar e instala solo de autores de confianza.

  1. Abre la Terminal

    Mac: pulsa Command+Espacio y escribe Terminal · Windows: el comando no funciona en PowerShell; usa «Que la IA lo instale» arriba

  2. Copia la carpeta del skill a ~/.cursor/skills

    Descarga el repo a una carpeta temporal y copia solo las carpetas con SKILL.md

    git clone --depth 1 https://github.com/d0n9x1n/hexo-blog-encrypt.git /tmp/popnx-skill-d0n9x1n-hexo-blog-encrypt-1e1ae52 && mkdir -p ~/.cursor/skills && cp -R '/tmp/popnx-skill-d0n9x1n-hexo-blog-encrypt-1e1ae52/skills/hexo-encrypt-toc' ~/.cursor/skills/hexo-encrypt-toc
  3. En el chat Agent de Cursor escribe / y elige hexo-encrypt-toc

Option 1Let the AI install it

Para otras apps que leen skills. La frase incluye las rutas de Claude Code, Codex y Cursor para que la IA elija la de tu app · Copy this sentence into the app’s chat

Where to install
Please install the skill hexo-encrypt-toc from https://github.com/d0n9x1n/hexo-blog-encrypt folder skills/hexo-encrypt-toc (commit 1e1ae52) for all my projects, at ~/.claude/skills/hexo-encrypt-toc (in Codex use ~/.agents/skills/hexo-encrypt-toc, in Cursor ~/.cursor/skills/hexo-encrypt-toc). First show me every file and tell me whether it has scripts or changes machine settings, then tell me the full path you will install to and wait for me to agree.
Please install the skill hexo-encrypt-toc from https://github.com/d0n9x1n/hexo-blog-encrypt folder skills/hexo-encrypt-toc (commit 1e1ae52) into the project this chat is open in (at .claude/skills/hexo-encrypt-toc; in Codex use .agents/skills/hexo-encrypt-toc, in Cursor .cursor/skills/hexo-encrypt-toc). First show me every file and tell me whether it has scripts or changes machine settings, then tell me the project name and the full path you will install to and wait for me to agree.

For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing

The AI tells you what it will do first and asks your permission at every step

Checked against official docs 12 nov 2026 · Source: code.claude.com, learn.chatgpt.com, cursor.com

For Terminal users

Otras apps con Agent Skills (como Gemini CLI o GitHub Copilot) usan otras carpetas. Mira la guía de esa app y copia allí la carpeta con el SKILL.md.

Ver en GitHub ↗

Carpetas de skills comprobadas con las guías oficiales de Claude Code, Codex y Cursor el 11 nov 2026

✓ Comandos revisados el 18 nov 2026

Ver el SKILL.md original

El texto siguiente viene del repo del autor, no de PopNx MCP

Se muestran los primeros 8000 caracteres · Abrir el archivo completo en GitHub

---
name: hexo-encrypt-toc
description: Patches any Hexo theme so its table of contents works with hexo-blog-encrypt without leaking encrypted headings. Use when a theme shows an empty, hidden, or plaintext TOC on password-protected posts, when installing hexo-blog-encrypt on a theme with a TOC, or when asked to "fix TOC for encrypted posts". Do NOT use for themes with no TOC, or for changing the encryption plugin itself.
---

# Encrypted-post TOC for any Hexo theme

hexo-blog-encrypt replaces `page.content` with ciphertext in an
`after_post_render` filter, sets `page.encrypt = true`, and keeps the plaintext
in `page.origin`. After the reader decrypts, it swaps in the post as
`#hexo-blog-encrypt.hbe-decrypted-content` and dispatches `hexo-blog-decrypt`
on `window`.

That breaks theme TOCs in one of three ways:

| Symptom | Cause | Risk |
| --- | --- | --- |
| TOC empty or missing | `toc(page.content)` sees ciphertext | Cosmetic |
| TOC visible on the locked page | `toc(page.origin)` rendered | **Plaintext headings published** |
| TOC hidden, appears after decrypt | `toc(page.origin)` with `display:none` | **Plaintext headings published** (view source) |

The goal is always the same: **no encrypted heading in the generated HTML, and
a working TOC after decryption.** This procedure works for any theme; the
per-theme notes in [Per-theme examples](#per-theme-examples) are examples, not a
whitelist. Everything the procedure needs is in this one file: the builder
script is [Appendix A](#appendix-a-hbe-tocjs) and the leak checker is
[Appendix B](#appendix-b-check-toc-leakjs).

## 1. Locate the TOC

Run from the Hexo site root. Include theme packages installed from npm.

```bash
THEME=$(sed -n 's/^theme:[[:space:]]*//p' _config.yml | tr -d "\"'")
grep -rnE "toc\(|\.origin|encrypt|tocbot|hexo-blog-decrypt|hbe|password" \
  "themes/$THEME" "node_modules/hexo-theme-$THEME" 2>/dev/null \
  | grep -v -E "/(node_modules|source/lib|vendor)/" | head -80
```

Also search component packages the theme depends on (for example Icarus
renders its TOC from `hexo-component-inferno`).

Classify every hit:

- **Server TOC**: a template calls `toc(...)` (ejs, njk, pug, jsx, swig).
- **Client TOC**: JavaScript scans headings in the DOM (tocbot, a custom
  `querySelectorAll('h1,h2,…')`, or a theme `initTOC` function).
- **Theme-native encryption**: the theme has its own `password` handling or
  bundles a copy of hexo-blog-encrypt. Resolve this first (see step 5).

Record the TOC container selector, the `class` passed to `toc()` (default
`toc`), and the function that starts scrollspy or highlighting.

## 2. Remove every plaintext source

In each server template:

- Delete any `toc(page.origin)`, `toc(post.origin)`, or equivalent.
- Guard the remaining call with the encrypt flag and **still output the empty
  container**, because many themes drop the sidebar panel when the TOC is
  empty:

```ejs
<div id="toc" class="toc-article">
  <% if (!page.encrypt) { %><%- toc(page.content, {class: 'toc'}) %><% } %>
</div>
```

Nunjucks: `{% if not page.encrypt %}…{% endif %}`. Pug:
`if !page.encrypt` with the container outside the branch. JSX: pass `''`
instead of `origin`.

Also check `head` templates for `open_graph()` and meta descriptions, and
search, feed, and sitemap generator configs for fields that read `origin`,
`raw`, or `_content`.

## 3. Rebuild the TOC after decryption

Prefer the theme's own initializer. Otherwise use the generic builder.

**Client TOC (tocbot style).** Make sure the decrypted node is inside the
scanner's content selector, then refresh:

```html
<script>
  window.addEventListener('hexo-blog-decrypt', function () {
    var el = document.getElementById('hexo-blog-encrypt');
    if (el) el.classList.add('markdown-body'); // match the theme's contentSelector
    if (window.tocbot) tocbot.refresh();
  });
</script>
```

**Server TOC.** Write the builder from [Appendix A](#appendix-a-hbe-tocjs) to
`themes/$THEME/source/js/hbe-toc.js` (or the theme's equivalent asset folder)
and load it on post pages after the theme's own scripts:

```html
<script>
  window.HBE_TOC = {
    container: '#toc',     // the empty container from step 2
    className: 'toc',      // the class the theme passed to toc()
    onRender: function () { /* call the theme's scrollspy init here */ }
  };
</script>
<script src="/js/hbe-toc.js"></script>
```

The builder emits the same markup as Hexo's `toc()` helper, so theme CSS
applies. It reads heading text with `textContent` and never `innerHTML`. It
runs on the decrypt event and once on load, which covers `autoSave` pages that
decrypt from a cached key before the theme's script runs.

**Event rules for any custom handler:**

- Do not depend on `event.detail`; some forks dispatch a plain `Event`.
- Also check for `#hexo-blog-encrypt.hbe-decrypted-content` at load time.
- On PJAX themes, re-run the handler after each page swap.

## 4. Verify

```bash
hexo clean && hexo generate
# Write Appendix B to a temporary file first, e.g. /tmp/check-toc-leak.js
node /tmp/check-toc-leak.js --source source/_posts --public public
```

The checker reads every post with a front-matter `password`, extracts its
Markdown headings (code fences skipped, headings shorter than 4 characters
ignored), and searches all generated `.html`, `.xml`, `.json`, `.txt`, and
`.js` files. Pass tag-encrypted posts explicitly with `--post <file>`. Add
`--body` to also check every prose line of 40+ characters (search indexes,
feeds, metadata). Exit code 1 means a leak; fix it before deploying. A heading that also appears in
an unencrypted post is a false positive; confirm by viewing source.

Then in a browser:

1. Open an encrypted post: the TOC is empty or hidden, and view-source shows no
   headings.
2. Enter the password: the TOC appears, links scroll to headings, scrollspy
   highlights the current section.
3. With `autoSave: true`, reload: the TOC appears without a password.
4. Open an unencrypted post: the TOC is unchanged.

## 5. Pitfalls

- **Theme-native encryption** (for example Keep's `password` filter, or
  Redefine's bundled copy of hexo-blog-encrypt): use one system. With both,
  posts can be encrypted twice or the plugin's form never renders. Remove or
  disable the theme's copy, or don't install the plugin.
- **Hidden is not secret.** `display:none`, `hidden`, and CSS-only tricks still
  publish headings.
- **Stale hooks.** Themes written for plugin v3 may wait for elements that v4
  no longer outputs (for example `hbe-prefix`). Replace them with the
  `hexo-blog-decrypt` listener.
- **Theme updates** overwrite edits in `themes/<name>`. Prefer the theme's
  override mechanism (`source/_data`, injectors, custom layouts) or record the
  patch so it can be re-applied.

## Report back

State the theme and version, the files changed, the checker's output, and the
browser checks you ran. Say which checks you could not run.

## Per-theme examples

Examples gathered from each theme's default branch on 2026-10-12. Line
numbers drift; re-run the step 1 search before editing. Themes not listed here
use the same procedure.

| Theme | TOC source | Type | Leaks today? | Re-init after decrypt |
| --- | --- | --- | --- | --- |
| NexT | `layout/_macro/sidebar.njk` `toc(page.content, {class: 'nav'})` | Server | No (empty) | `NexT.utils.registerSidebarTOC()`, `NexT.utils.activateSidebarPanel(0)` |
| Butterfly | `layout/includes/widget/card_post_toc.pug` | Server | **Yes, hidden** `toc(page.origin)` | Build into `#card-toc .toc-content` before the theme's own `hexo-blog-decrypt` listener runs `forPostFn()` |
| AnZhiYu | `layout/includes/widget/card_post_toc.pug` | Server | **Yes, hidden** `toc(page.origin)` | Build into `#card-toc .toc-content`, then call the theme's `scrollFnToDo()` |
| Fluid | `layout/_partials/post/toc.ejs` | Client (tocbot, `.markdown-body`) | No | Add `markdown-body` to `#hexo-blog-encrypt`, then `Fluid.boot.refresh()`. The theme's `hbe-prefix` hook is from plugin v3

Conversación

Pregunta, comparte un consejo o avisa de que no funciona. Ordenado por lo que la gente marcó como útil.

Aún no hay publicaciones. Sé la primera persona en preguntar o compartir.

Lo publicado aquí lo escriben usuarios, no el equipo de PopNx.

Inicia sesión para publicar

Desde GitHub

Estrellas en GitHub
1051
Autor
D0n9X1n
Licencia
MIT
Último cambio de código
14 oct 2026
Archivos SKILL.md del repo (con traducciones y plantillas)
1
Temas
encrypt, hexo, security