Skip to content

firecrawl-research-papers skill documents a non-existent --k flag (should be --limit) #3

Description

@shivss26

The firecrawl-research-papers skill documents --k <number> for the firecrawl research search-papers and related-papers CLI commands, but the CLI has no --k flag. The result-count flag is --limit. Because the CLI silently ignores unknown options, following the skill literally is a silent no-op — users get the default count (40) instead of the value they pass.

Affected file: skills/firecrawl-research-papers/SKILL.md

Two lines:

  • CLI: firecrawl research search-papers <query> [--k <number>]
  • CLI: firecrawl research related-papers <seedIds...> --intent <intent> [--mode <similar|citers|references>] [--k <number>]

Actual CLI (firecrawl-cli@1.19.18):

$ firecrawl research search-papers --help
  --limit <number>     Number of results to return (default: 40)
  -k, --api-key <key>  Firecrawl API key (overrides global --api-key)

There is no --k long option — -k is --api-key (a key string, not a count).

Repro — --k is silently ignored:

$ firecrawl research search-papers "test query" --k 3
## [pmid:...] ...    # returns results at the default limit (40), exit 0 — not capped to 3

Suggested fix: replace --k <number> with --limit <number> in both CLI examples. (The MCP signatures ...(query, k?) are a separate surface and may be correct for the MCP tool — only the CLI lines are affected.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions