Notre avis
Cette compétence permet de reconstruire les signets (outline) d'un fichier PDF en analysant les tailles de police, lorsqu'aucun signet n'existe et qu'aucun PDF de référence n'est disponible.
Points forts
- Utilise des heuristiques sur la taille de police pour détecter les titres, même sans table des matières
- Offre plusieurs paramètres ajustables (min-font-ratio, profondeur, pages TOC) pour affiner la détection
- Comprend un mode dry-run pour prévisualiser les résultats avant d'écrire le fichier final
- Vérifie les signets injectés avec une analyse distincte
Limites
- Ne fonctionne pas sur les PDF scannés (images)
- Peut être sensible au choix du ratio de police, nécessitant des réglages manuels
- Les en-têtes courantes ou pieds de page de même taille que le corps peuvent fausser la détection
Utilisez cette compétence lorsque vous avez un PDF numérique sans signets et que vous souhaitez ajouter automatiquement une table des matières cliquable basée sur les tailles de police.
Évitez cette compétence si le PDF est scanné, si des signets existent déjà, ou si vous disposez d'un PDF de référence ou d'un serveur Arcane-PP qui permettrait une récupération plus fiable.
Analyse de sécurité
SûrThe skill only uses local PDF processing utilities (arcane) for analysis and bookmark recovery. No network, destructive, or obfuscated commands are involved.
Aucun point d'attention détecté
Exemples
I have a PDF with no bookmarks. Can you recover the outline using font-size heuristics? First do a dry-run to show me what it would find.The dry run detected too many headings. Try increasing the minimum font ratio to 1.3 and show the result again.Skill: recover-outline-heuristic
Recover PDF outline bookmarks using font-size heuristics when no bookmarks exist and no reference PDF or TOC seed is available.
When to use
The user has a PDF with no bookmarks and wants to recover them using font analysis. Use when they say "recover outline", "add bookmarks", "fix chapters" — and no reference PDF or Arcane-PP server is mentioned. Prefer this over the bridge workflow for digitally-typeset PDFs with consistent font sizes.
Steps Claude must follow
-
Probe the PDF:
arcane analyze probe "<pdf>" --jsonAbort if
document_kind == "Scanned". Warn ifhas_outlines == true(already has bookmarks). -
Inspect font clusters and body size:
arcane analyze layout "<pdf>" --jsonNote
body_font_sizeand the cluster sizes. Choose--min-font-ratioso that headings (typically 1.2–1.5× body) are captured but running headers (often same size as body) are not. -
Detect page offset (if applicable):
arcane analyze offset "<pdf>" --jsonIf offset is found, note the
offsetvalue. Will be passed as--page-onebelow. -
Dry-run — preview detected headings:
arcane recover-outline "<pdf>" --dry-run --depth 2 --min-font-ratio 1.2Show the heading table to the user. If results look wrong, adjust
--min-font-ratioand repeat. Also try--toc-pages "N-M"if the user can identify the TOC pages. -
Write the recovered PDF (only after user confirms):
arcane recover-outline "<pdf>" --output "<fixed.pdf>" --depth 2 --min-font-ratio 1.2 -
Verify injected bookmarks:
arcane analyze outline "<fixed.pdf>" --depth 2 -
Fill in
template.mdand present the summary.
Parameter selection guide
| Observation | Recommendation |
|-------------|----------------|
| Too many headings detected | Increase --min-font-ratio (try 1.3) |
| Too few headings | Decrease --min-font-ratio (try 1.1) or add --toc-pages |
| Wrong page numbers | Pass --page-one N with the offset value from step 3 |
| Section headings missing | Use --depth 2 |
| Confident results needed fast | Add --toc-pages "N-M" for fuzzy-match boost (+0.20 confidence) |
Priorisation de Tâches
Productivite
Priorise vos tâches avec les frameworks Eisenhower, ICE et RICE.
Generateur de Rapport Hebdomadaire
Productivite
Generez des rapports de statut hebdomadaires structures et concis.
Rapport de Daily Standup
Productivite
Génère des rapports de daily standup structurés et concis.