Logo de Claude Paper Study

Claude Paper Study

Comunidade
alaliqing
claude-paper-study

Use this skill when the user wants to read, study, analyze, or deeply understand a research paper (PDF).

Visão geral

Publicado poralaliqing
Repositórioclaude-paper
Nome da habilidadeclaude-paper-study
Estrelas
351
Forks
27
Arquivos incluídos
Somente instruções
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.

  • Sem arquivos extras

    Tudo de que o modelo precisa está nas instruções — sem arquivos extras para sincronizar.

  • Código aberto

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

Instalação

Instale a habilidade de IA Claude Paper Study 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/alaliqing/claude-paper/tree/main/.agents/skills/claude-paper-study
  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/alaliqing/claude-paper.git /tmp/claude-paper
mkdir -p .claude/skills
cp -r /tmp/claude-paper/.agents/skills/claude-paper-study .claude/skills/claude-paper-study
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Claude Paper Study 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 Claude Paper Study 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, Claude Paper Study 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á.

Cross-Agent Compatibility

This file is generated from the existing Claude Paper Skill. Its workflow and output requirements are unchanged; only equivalent host metadata, the plugin-root variable, and cross-skill invocation are adapted.

Resolve CLAUDE_PAPER_PLUGIN_ROOT to the absolute plugin/ directory in this package before each shell invocation. From this SKILL.md, that directory is ../../../plugin. Treat every ${CLAUDE_PAPER_PLUGIN_ROOT} reference below as that resolved absolute directory. Do not substitute the current workspace root.

When this workflow asks to launch the viewer, load and follow the claude-paper-webui skill.


Paper Study Workflow

Invoke this skill with a paper PDF path.

Language Detection: Detect the user's language from their input and generate ALL materials in that language.

  • Example: User says "我们学习一下这篇论文吧" → Generate materials in Chinese
  • Example: User says "Let's study this paper" → Generate materials in English

Core Philosophy

Primary Objective: Facilitate deep conceptual understanding and research-level thinking.

Secondary Objective: Create a structured, reusable paper knowledge system.

This workflow is not just for summarizing — it builds a learning environment around the paper.


Step 0: Check Dependencies (First Run Only)

bash
if [ ! -f "${CLAUDE_PAPER_PLUGIN_ROOT}/.installed" ]; then
  echo "First run - installing dependencies..."
  cd "${CLAUDE_PAPER_PLUGIN_ROOT}"
  npm install || exit 1

  # Install Python dependencies for image extraction
  python3 -m pip install pymupdf --user 2>/dev/null || pip3 install pymupdf --user 2>/dev/null || echo "Warning: Failed to install pymupdf"

  touch "${CLAUDE_PAPER_PLUGIN_ROOT}/.installed"
  echo "Dependencies installed!"
fi

Recommended:

  • Node >= 18
  • Python 3 with pip (for image extraction)

Step 1: Download and Parse PDF

Supports multiple input formats:

  • Local path: ~/Downloads/paper.pdf
  • Direct PDF URL: https://arxiv.org/pdf/1706.03762.pdf
  • arXiv URL: https://arxiv.org/abs/1706.03762

Step 1a: Check input type and download if URL

bash
USER_INPUT="<user-input>"

# Check if input is a URL (starts with http:// or https://)
if [[ "$USER_INPUT" =~ ^https?:// ]]; then
  # Download PDF from URL
  INPUT_PATH=$(node ${CLAUDE_PAPER_PLUGIN_ROOT}/skills/study/scripts/download-pdf.cjs "$USER_INPUT")
else
  # Use local path directly
  INPUT_PATH="$USER_INPUT"
fi

For URLs, the download script will:

  • Download PDFs to /tmp/claude-paper-downloads/
  • Convert arXiv /abs/ URLs to PDF URLs automatically
  • Validate that URLs point to PDF files
  • Return the local file path for processing

For local paths, use the path directly without downloading.

Step 1b: Parse PDF

Extract structured information:

bash
PARSE_OUTPUT_DIR=$(mktemp -d)
node ${CLAUDE_PAPER_PLUGIN_ROOT}/skills/study/scripts/parse-pdf.js \
  "$INPUT_PATH" \
  --output-dir "$PARSE_OUTPUT_DIR"

The command prints a small, strict JSON summary to stdout and writes:

  • meta.json — title, authors, abstract, links, page count, and a context-safe content preview
  • paper.txt — complete extracted text without the 50k preview limit

Use paper.txt as the source for generating materials. Search it and read relevant sections as needed; do not treat meta.json.content as the complete paper when contentTruncated is true.

After choosing {paper-slug}, create the paper directory and copy both parser artifacts plus the original PDF:

bash
mkdir -p ~/claude-papers/papers/{paper-slug}
cp "<metaPath-from-parser-output>" ~/claude-papers/papers/{paper-slug}/meta.json
cp "<fullTextPath-from-parser-output>" ~/claude-papers/papers/{paper-slug}/paper.txt
cp "$INPUT_PATH" ~/claude-papers/papers/{paper-slug}/paper.pdf

Generate exactly 2 tags in Step 2.5 and add them to the saved meta.json.

Fallback: If structured parsing fails, extract raw text and continue with degraded structure.


Step 2: Assess Paper Before Generating Materials

Before generating any files, evaluate:

  1. Difficulty Level

    • Beginner
    • Intermediate
    • Advanced
    • Highly Theoretical
  2. Paper Nature

    • Theoretical
    • Architecture-based
    • Empirical-heavy
    • System design
    • Survey
  3. Methodological Complexity

    • Simple pipeline
    • Multi-stage training
    • Novel architecture
    • Heavy mathematical derivation

This assessment determines:

  • Whether to create method.md
  • Whether to create .ipynb
  • Explanation depth
  • Code demo complexity

Step 2.5: Generate Exactly 2 Semantic Tags (Mandatory)

Before generating files, infer exactly 2 tags from semantic understanding of the paper.

Rules:

  • Generate exactly 2 tags, no more and no less
  • Tags must be distinct
  • Each tag should be short (1-3 words)
  • Avoid generic tags: paper, research, ai, ml
  • Prefer one tag for problem/domain and one for method/core idea

Examples:

  • machine translation, self-attention
  • 3d detection, bev transformer
  • protein folding, structure prediction

Persist these 2 tags in both locations:

  • ~/claude-papers/papers/{paper-slug}/meta.json as tags
  • ~/claude-papers/index.json entry as tags

Step 3: Generate Core Study Materials

Create folder:

~/claude-papers/papers/{paper-slug}/

Required Files

README.md

  • What the paper is about (one paragraph)
  • Difficulty level
  • How to navigate materials
  • Key takeaways
  • Estimated study time
  • Folder structure overview

summary.md

  • Background context
  • Problem statement
  • Main contributions
  • Key results
  • Quantitative metrics

insights.md (Most Important)

  • Core idea explained plainly
  • Why this works
  • What conceptual shift it introduces
  • Trade-offs
  • Limitations
  • Comparison to prior work
  • Practical implications

qa.md

15 questions:

  • 5 basic
  • 5 intermediate
  • 5 advanced

Use this format:

markdown
### Question

<details>
<summary>Answer</summary>

Detailed explanation.

</details>

---

Conditional Files

method.md (Recommended for most papers)

Include:

  • Component breakdown
  • Algorithm flow
  • Architecture diagram (ASCII if needed)
  • Step-by-step explanation
  • Pseudocode (balanced with explanation)
  • Implementation pitfalls
  • Hyperparameter sensitivity
  • Reproduction risks

mental-model.md (Recommended for most papers)

  • What type of problem is this?
  • What prior knowledge is assumed?
  • How it fits into the broader research map
  • How to mentally categorize this work

reflection.md (Optional auto-generated)

  • If I were to extend this paper
  • What open problems remain
  • What assumptions are fragile
  • Where it might fail in practice

Step 4: Code Demonstrations (Mandatory)

At least one runnable demo must be created.

All code demos must be placed in:

~/claude-papers/papers/{paper-slug}/code/

Create the code directory first:

bash
mkdir -p ~/claude-papers/papers/{paper-slug}/code

Guidelines:

  • Self-contained
  • Runnable independently
  • Educational comments (explain why)
  • Focus on core contribution
  • Prefer clarity over completeness

Possible types:

  • Simplified conceptual implementation
  • Visualization script
  • Minimal architecture demo
  • Interactive notebook (.ipynb)

Name descriptively:

  • model_demo.py
  • vectorized_planning_demo.py
  • contrastive_loss_visualization.ipynb

Avoid generic names.


Step 5: Generate Interactive HTML Explorer

Create a single self-contained HTML file for interactively exploring the paper's core concepts.

Output path:

~/claude-papers/papers/{paper-slug}/index.html

Requirements

  • Single HTML file, all CSS/JS inline, zero external dependencies
  • Uses real data from the paper (actual metrics, hyperparameters, comparisons) — never invent numbers
  • Must work in a sandboxed iframe (no external fetches, no localStorage)

Guidelines

Choose the interaction pattern that best fits the paper — architecture diagrams, parameter explorers, result dashboards, formula breakdowns, comparison matrices, etc. Let the paper's content dictate the format rather than forcing a fixed layout, focusing on the core ideas of the paper.

Every interactive control (slider, toggle, dropdown) should visibly change the visualization. Include brief explanatory text alongside interactive elements to teach concepts.


Step 6: Extract Images

bash
mkdir -p ~/claude-papers/papers/{paper-slug}/images

python3 ${CLAUDE_PAPER_PLUGIN_ROOT}/skills/study/scripts/extract-images.py \
  paper.pdf \
  ~/claude-papers/papers/{paper-slug}/images

Rename key images descriptively:

  • architecture.png
  • training_pipeline.png
  • results_table.png

Step 7: Update Index

CRITICAL: Read existing index.json first, then append the new paper. Never overwrite the entire file.

If index.json does not exist, create:

json
{"papers": []}

Append new entry to the papers array:

json
{
  "id": "paper-slug",
  "title": "Paper Title",
  "slug": "paper-slug",
  "authors": ["Author 1", "Author 2"],
  "abstract": "Paper abstract...",
  "year": 2024,
  "date": "2024-01-01",
  "tags": ["tag-1", "tag-2"],
  "githubLinks": ["https://github.com/..."],
  "codeLinks": ["https://..."]
}

IMPORTANT: The index.json file must be located at:

~/claude-papers/index.json

Step 8: Relaunch Web UI

Load and follow the claude-paper-webui skill.

Step 9: Interactive Deep Learning Loop

After all files are generated:

Present to User:

  1. Ask:

    • What part is still unclear?
    • Do you want deeper mathematical breakdown?
    • Do you want implementation-level analysis?
    • Do you want comparison with another paper?
  2. Allow user to:

    • Ask deeper questions
    • Summarize their understanding
    • Propose new ideas

If user asks deeper questions:

Generate a new file inside the same folder:

Examples:

  • deep-dive-contrastive-loss.md
  • math-derivation-breakdown.md
  • comparison-with-transformers.md
  • extension-ideas.md

If user provides their own summary:

  1. Refine it.
  2. Improve structure.
  3. Save as:
  • user-summary-v1.md

If iterated:

  • user-summary-v2.md

If user wants structured consolidation:

Create:

  • consolidated-notes.md
  • study-session-1.md
  • exam-review.md

This makes the paper folder a growing knowledge node.


Perguntas frequentes

O que a habilidade de IA Claude Paper Study faz?

Use this skill when the user wants to read, study, analyze, or deeply understand a research paper (PDF).

Por que usar Claude Paper Study no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Claude Paper Study é 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 Claude Paper Study no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/alaliqing/claude-paper/tree/main/.agents/skills/claude-paper-study. O TypingMind lê o arquivo SKILL.md e instala a habilidade para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Claude Paper Study?

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 Claude Paper Study?

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

Sim. A habilidade é publicada no GitHub por alaliqing 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 👇