Pwc Cli 标志

Pwc Cli

组织
huggingface
pwc-cli

Papers With Code CLI (`pwc`) for searching and reading AI/ML papers, discovering recent and trending research, finding related work and paper lineage, browsing tasks, methods, conferences, organizations, frameworks, and benchmark leaderboards, and submitting authenticated paper edits through the public Papers With Code catalog. Use whenever the user asks to find papers, survey literature, compare research, inspect an arXiv paper, explore AI/ML taxonomy or conferences, discover benchmarks or state-of-the-art models, or mentions Papers With Code, `pwc`, or `pwc-cli`.

Add to TypingMind

概览

发布者huggingface
代码仓库pwc-cli
技能名称pwc-cli
星标数
210
复刻数
13
附带文件
16
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 16 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 huggingface 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Pwc Cli AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/huggingface/pwc-cli/tree/main/standalone_cli
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/huggingface/pwc-cli.git /tmp/pwc-cli
mkdir -p .claude/skills
cp -r /tmp/pwc-cli/standalone_cli .claude/skills/pwc-cli
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Pwc Cli,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Pwc Cli。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Pwc Cli 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Generated with pwc v0.4.6. Run pwc skills add --force to regenerate.

Research commands query the public Papers With Code catalog anonymously. Paper editing requires explicit browser authorization through pwc auth login --paper PAPER. Run pwc --help or a nested --help command when the live parser and this skill disagree; the parser is authoritative.

Use compact output for reading and discovery. Add --json for programmatic filtering, joining, or schema-dependent processing.

When the user identifies an author, prefer repeatable structured pwc paper list --author AUTHOR filters. Add --search TEXT for stated topic terms and explicit --order-by date_published --order-dir desc for newest or recent work. Author references accept an exact normalized name, numeric ID, or @HF_USERNAME; repeated authors use AND semantics.

Publication date ranges are inclusive: use --start-date YYYY-MM-DD and --end-date YYYY-MM-DD with pwc search or pwc paper list; the start date must not be later than --end-date. The combined flags are --start-date YYYY-MM-DD --end-date YYYY-MM-DD.

Paper discovery commands accept --implementation-coverage to add official implementation status and total linked repository count columns. JSON and pwc paper info always include both fields. Use --has-official-implementation with pwc search or pwc paper list to require a catalog-linked official repository; these filters fail closed if unconfirmed.

Use pwc benchmark --name NAME --max-parameters SIZE to keep models at or below an inclusive parameter limit. SIZE accepts values such as 500M, 1.5B, 3B, and raw integers. Models without one consistent parameter count are excluded from constrained results.

PAPER accepts a modern or legacy arXiv ID, a numeric external-paper ID, or an exact paper title. Quote titles containing spaces. Title matching is case-insensitive but exact; ambiguous titles fail with their matching IDs. When pwc paper info or pwc paper read names a paper Papers With Code has not indexed, stderr shows "Not indexed on Papers With Code — available at:" with public links and metadata before the usual not-found error; cite those links, not a Papers With Code page.

Commands

  • pwc search QUERY [--limit LIMIT] [--page PAGE] [--mode hybrid|keyword|semantic] [--start-date START_DATE] [--end-date END_DATE] [--has-official-implementation] [--implementation-coverage] [--json] — search papers.
  • pwc paper info PAPER [--include-resources] [--include-evals] [--json] — show paper metadata including abstract.
  • pwc paper evaluations PAPER [--page PAGE] [--page-size PAGE_SIZE] [--json] — list one paper's benchmark evaluations.
  • pwc paper read PAPER [--json] — print stored paper Markdown.
  • pwc paper list [--page PAGE] [--page-size PAGE_SIZE] [--search SEARCH] [--start-date START_DATE] [--end-date END_DATE] [--task TASK] [--method METHOD] [--conference CONFERENCE] [--framework FRAMEWORK] [--organization ORGANIZATION] [--author AUTHOR] [--all-versions] [--order-by trending|date_published|citation_count] [--order-dir asc|desc] [--include-resources] [--has-official-implementation] [--implementation-coverage] [--json] — list and filter papers.
  • pwc paper recent [--limit LIMIT] [--implementation-coverage] [--json] — list recent papers.
  • pwc paper trending [--limit LIMIT] [--max-age-days MAX_AGE_DAYS] [--min-velocity MIN_VELOCITY] [--implementation-coverage] [--json] — list trending papers.
  • pwc paper related PAPER [--limit LIMIT] [--implementation-coverage] [--json] — list related papers.
  • pwc paper lineage list PAPER [--json] — list predecessors and successors.
  • pwc paper edit export PAPER [--output OUTPUT].
  • pwc paper edit preview PAPER [--file FILE].
  • pwc paper edit submit PAPER [--file FILE].
  • pwc task [--name NAME] [--json] — inspect or list research tasks.
  • pwc task list [--page PAGE] [--page-size PAGE_SIZE] [--search SEARCH] [--group-by-area] [--flat] [--area AREA] [--level LEVEL] [--visible-only] [--order-by name|created_at|level|paper_count] [--order-dir asc|desc] [--json] — list and filter research tasks.
  • pwc method [--name NAME] [--json] — inspect or list research methods.
  • pwc method list [--page PAGE] [--page-size PAGE_SIZE] [--search SEARCH] [--area AREA] [--introduced-year INTRODUCED_YEAR] [--order-by name|full_name|introduced_year|created_at|paper_count] [--order-dir asc|desc] [--json] — list and filter research methods.
  • pwc conference [--name NAME] [--json] — inspect or list conferences.
  • pwc conference list [--year YEAR] [--json] — list conferences with imported papers.
  • pwc organization [--name NAME] [--json] — inspect or list research organizations.
  • pwc organization list [--featured-only] [--json] — list research organizations.
  • pwc framework [--name NAME] [--json] — inspect or list research frameworks.
  • pwc framework list [--domain DOMAIN] [--category CATEGORY] [--platform PLATFORM] [--json] — list research frameworks.
  • pwc benchmark [--name NAME] [--limit LIMIT] [--page PAGE] [--is-open true|false] [--max-parameters SIZE] [--require-metrics METRIC[,METRIC]] [--min METRIC=VALUE] [--max METRIC=VALUE] [--sort METRIC[:ASC|DESC]] [--pareto METRIC:HIGHER,METRIC:LOWER] [--json] — inspect benchmarks.
  • pwc benchmark list [--page PAGE] [--page-size PAGE_SIZE] [--search SEARCH] [--task TASK] [--group-by-area] [--flat] [--area AREA] [--benchmarks-per-task BENCHMARKS_PER_TASK] [--include-descendants] [--min-eval-count MIN_EVAL_COUNT] [--is-open true|false] [--order-by trending|name|full_name|created_at|paper_count] [--order-dir asc|desc] [--json] — list and filter benchmarks.
  • pwc skills add [--global] [--claude] [--dest DEST] [--force] — install the version-matched pwc CLI Skill.
  • pwc version — show CLI and API contract versions.
  • pwc auth login [--paper PAPER] [--no-browser].
  • pwc auth status [--paper PAPER].
  • pwc auth logout [--paper PAPER].

Research workflow

  1. Use pwc benchmark list --task TASK to discover active benchmarks, then pwc benchmark --name NAME to inspect a leaderboard. Add --max-parameters SIZE when model size is part of the request.
  2. Use pwc paper info to inspect promising results. Add --include-resources when repositories, project pages, or Hugging Face artifacts matter.
  3. Use exact pwc paper list --author, --task, --method, --conference, --framework, and --organization filters for known identities or catalog associations. Combine them to require every association; do not substitute a keyword search. Add --search for title or abstract topic terms.
  4. Use pwc search for broader discovery, then pwc paper read for primary evidence.
  5. Expand the literature with pwc paper related and use pwc paper lineage list when model or method ancestry matters.
  6. Preserve paper titles, identifiers, and URLs so claims remain traceable.

Output and limits

  • Interactive output is optimized for people. Benchmark lists remain aligned when captured; other captured list output uses lossless TSV. Add --json for structured agent or script consumption.
  • Stable exit codes are 0 success, 2 invalid usage, 3 network/server failure, and 4 invalid API response.
  • PWC_API_URL may select another compatible v1 endpoint. The default is https://paperswithcode.co/api/v1.
  • Catalog-filtered paper lists fail closed unless the server confirms every requested filter; never treat results from an older server as filtered.
  • Parameter-filtered benchmark details fail closed unless the server confirms parameter-filter support and every returned model satisfies the limit.

The research commands contain no authentication, catalog mutation, ingestion, publication, image, embedding, CRON, or infrastructure-maintenance operations.

Editing one paper

Use this workflow only when the user requests edits. Research commands remain anonymous.

  1. Run pwc auth login --paper PAPER. Give the user the browser link and code; they sign in with Hugging Face and authorize that paper for one hour. Use --no-browser on a remote machine. Never extract, print, or copy credentials.
  2. Run pwc paper edit export PAPER --output edits.json (the output must not already exist). It includes paper_id, version, idempotency_key, empty operations, and current reference data. Change operations, not current. Preserve the exported version and retry key. Documents may contain at most 50 operations and 1 MiB of JSON.
  3. Add operations of the form {"section":"tasks","payload":{"task_ids":[1,2]}}. A section operation explicitly replaces that section; preserve unrelated links and tags. Omitted sections stay unchanged. Allowed sections and payload keys: tasks/task_ids, methods/method_ids, repositories/repositories, project_pages/project_pages, hf_artifacts/hf_models+hf_datasets+hf_spaces, x_threads/x_threads, source_url/source_url (external papers only), and evaluations. Repository/project-page entries contain url and is_official. x_threads is a list of x.com or twitter.com post URLs in display order (at most 10). Link only posts in which the paper's authors or their organization introduce the paper, never outside accounts; the server captures each post's preview and rejects deleted or protected posts.
  4. For evaluations, an operation without evaluation_id creates a row. Include task_id, dataset_id, metrics (a dictionary of existing metric names to scores), model_name, and the evaluation setup where available. One row can contain multiple metrics. Add evaluation_id to correct an existing row on this paper; omitted update fields stay unchanged. Use source_url and methodology to cite precise evidence when available; source references remain optional. Existing benchmark/task/metric definitions are required. Do not invent missing IDs or create benchmarks. Report unsupported results to the user. No evaluation deletion, paper identity changes, organization edits, or rank overrides.
  5. Run pwc paper edit preview PAPER --file edits.json, inspect the before/after changes, then pwc paper edit submit PAPER --file edits.json. Publication is immediate: no per-batch browser approval. Respect the user's requested scope. A batch succeeds completely or makes no changes. The response includes status published and a link to the paper's history.
  6. Retry an uncertain network result using the exact same document and retry key. A 409 means changed data or a reused key with different edits. Fetch a fresh export, preserve others' edits, and reconcile. Ask the user if the same score has conflicting corrections. Once you intentionally revise a previously submitted batch, use a fresh export/key. A 403 may mean expired authorization, suspension, or insufficient scope: read the error; do not broaden access. A 429 indicates the shared account limit: 20 distinct papers per UTC day and 30 publications per minute. Do not work around account limits.
  7. pwc auth status --paper PAPER shows local expiry metadata (revocation is checked by the server on use). pwc auth logout --paper PAPER revokes access. If authorization expires, keep the prepared file and request browser login again. Renewing authorization does not require discarding a valid edit document.

Credentials are stored in owner-only files under ~/.config/pwc/edit-credentials, separately for each API base URL and paper. They never belong in a prompt, edit file, repository, or command argument. The CLI does not follow edit redirects.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Pwc Cli AI 技能有什么作用?

Papers With Code CLI (`pwc`) for searching and reading AI/ML papers, discovering recent and trending research, finding related work and paper lineage, browsing tasks, methods, conferences, organizations, frameworks, and benchmark leaderboards, and submitting authenticated paper edits through the public Papers With Code catalog. Use whenever the user asks to find papers, survey literature, compare research, inspect an arXiv paper, explore AI/ML taxonomy or conferences, discover benchmarks or state-of-the-art models, or mentions Papers With Code, `pwc`, or `pwc-cli`.

为什么在 TypingMind 中使用 Pwc Cli?

因为您只需安装一次,就能搭配任何模型使用。Pwc Cli 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Pwc Cli?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/huggingface/pwc-cli/tree/main/standalone_cli。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Pwc Cli?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Pwc Cli 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Pwc Cli 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Pwc Cli AI 技能免费吗?

huggingface 已在 GitHub 上发布了该技能。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇