From research-papers
Creates new Claude Code skills from prompt files or workflows by analyzing structure, inferring frontmatter like context and tools, and generating formatted SKILL.md files.
npx claudepluginhub ctoth/research-papers-plugin --plugin research-papersThis skill is limited to using the following tools:
Create a new skill from existing prompt file(s).
Guides creating Claude Code skills: clarify purpose, set file structure, configure frontmatter like disable-model-invocation, user-invocable, hooks. Triggers on 'create skill' requests.
Meta-skill that generates and refines SKILL.md files using the 12 prompting techniques as a quality checklist. The skill that writes skills. Triggers: craft skill, create skill, generate skill, write skill, skill template, meta prompt, improve skill, refine skill.
Provides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Share bugs, ideas, or general feedback.
Create a new skill from existing prompt file(s).
Extract from $ARGUMENTS:
./prompts/research-*.md, ./prompts/paper-reader.md)# If glob pattern, expand it first
ls $PATHS 2>/dev/null || echo "No matches"
Read all matching prompt files.
For each prompt, identify:
$ARGUMENTS would replace)Based on analysis, select appropriate settings:
# If the skill reads many files or does web research:
context: fork
agent: general-purpose
# If the skill is simple/linear with few file reads:
# (omit context - defaults to inline)
# If skill has side effects (commits, edits code, deploys):
disable-model-invocation: true
# If skill is read-only or research:
# (omit - allows external model calls)
# Read-only research/analysis:
allowed-tools: Read, WebSearch, WebFetch, Glob, Grep
# File creation without code modification:
allowed-tools: Read, Write, Bash(mkdir:*), Bash(mv:*), Bash(rm:*), Bash(ls:*)
# Full implementation work:
# (omit - allows all tools)
name: [derived-from-content-or-explicit]
description: [One sentence describing what skill does and when to use it]
argument-hint: [what arguments look like]
Create the SKILL.md with:
YAML frontmatter (determined above)
Title: # [Skill Name]: $ARGUMENTS
Objective section: What the skill accomplishes
Steps: Numbered steps extracted from prompts, generalized:
$ARGUMENTS or parametersOutput format: Template for results
Safety boilerplate (ALWAYS include):
---
## CRITICAL: File Modified Error Workaround
If Edit/Write fails with "file unexpectedly modified":
1. Read the file again
2. Retry the edit
3. Try path formats: `./relative`, `C:/forward/slashes`, `C:\back\slashes`
4. Prefer your file editing tools over shell text manipulation (cat, sed, echo)
5. If all formats fail, STOP and report
## CRITICAL: Parallel Swarm Awareness
You may be running alongside other agents. NEVER use git restore/checkout/reset/clean.
---
## Completion
When done, reply ONLY:
\`\`\`
Done - [brief description of output location]
\`\`\`
Do NOT:
- Output findings to conversation
- Modify files outside scope
- Leave temporary files behind
# Project-specific (default)
mkdir -p "./.agents/skills/[skill-name]"
# Output: ./.agents/skills/[skill-name]/SKILL.md
# Global (if --global flag)
# Codex: ~/.codex/skills/[skill-name]
# Claude/Gemini: use that platform's user-level skills directory
Write the generated SKILL.md to the appropriate location.
Present to user:
## Skill Created
**Name:** [skill-name]
**Location:** [path to SKILL.md]
**Description:** [description]
### Frontmatter Settings
- context: [value or "default (inline)"]
- agent: [value or "default"]
- disable-model-invocation: [true/false]
- allowed-tools: [list or "all"]
### Pattern Analysis
**Fixed elements:** [what stays constant]
**Variable elements:** [what $ARGUMENTS replaces]
**Source prompts:** [list of files analyzed]
### Usage
$[skill-name] [example-arguments]
**Confirm creation? [Y/n]**
Wait for user confirmation before finalizing. If user says no or requests changes, iterate.
If Edit/Write fails with "file unexpectedly modified":
./relative, C:/forward/slashes, C:\back\slashesYou may be running alongside other agents. NEVER use git restore/checkout/reset/clean.
When user confirms, reply:
Done - created [path to SKILL.md]
Do NOT: