Agent Skillsopensquilla/opensquilla › paper-refbib-stub

paper-refbib-stub

GitHub

将多搜索引擎归一化的JSON结果转换为最小化BibTeX格式,保留DOI、作者等元数据,处理重复项并净化不安全字符。

src/opensquilla/skills/bundled/paper-refbib-stub/SKILL.md opensquilla/opensquilla

Trigger Scenarios

需要将搜索结果的JSON数据转换为BibTeX引用格式 需要生成标准化的学术参考文献列表

Install

npx skills add opensquilla/opensquilla --skill paper-refbib-stub -g -y
More Options

Non-standard path

npx skills add https://github.com/opensquilla/opensquilla/tree/main/src/opensquilla/skills/bundled/paper-refbib-stub -g -y

Use without installing

npx skills use opensquilla/opensquilla@paper-refbib-stub

指定 Agent (Claude Code)

npx skills add opensquilla/opensquilla --skill paper-refbib-stub -a claude-code -g -y

安装 repo 全部 skill

npx skills add opensquilla/opensquilla --all -g -y

预览 repo 内 skill

npx skills add opensquilla/opensquilla --list

SKILL.md

Frontmatter
{
    "name": "paper-refbib-stub",
    "metadata": {
        "platform": {
            "emoji": "📚",
            "requires": {
                "anyBins": [
                    "python",
                    "python3"
                ]
            }
        }
    },
    "entrypoint": {
        "args": [
            "--out",
            "paper\/references.bib"
        ],
        "parse": "text",
        "stdin": "{{ outputs.search_papers }}",
        "command": "python {baseDir}\/scripts\/json_to_bib.py",
        "timeout": 10
    },
    "provenance": {
        "origin": "opensquilla-original",
        "license": "Apache-2.0"
    },
    "description": "Convert normalized multi-search-engine results to minimal BibTeX, preserving real DOI, author, publication year, arXiv ID, source URL, and provenance metadata when available. Unknown years are omitted and duplicate DOI records collapse to one entry.",
    "description_zh": "将规范化的 multi-search-engine 结果转换为最小 BibTeX;在可用时保留真实 DOI、作者、出版年份、arXiv ID、来源 URL 和溯源元数据。未知年份不写入,重复 DOI 合并为一条。",
    "user-invocable": false,
    "disable-model-invocation": true
}

paper-refbib-stub

Reads a multi-search-engine JSON document on stdin and emits a BibTeX file of @misc{} entries keyed ref1, ref2, ... Caller wires the upstream search output via entrypoint.stdin.

The converter consumes optional normalized doi, authors, corporate_authors, and year fields, while retaining URL-based DOI/arXiv detection for older producers. Corporate authors are protected with nested BibTeX braces so institution names are not rearranged as personal names. It never invents a publication year: missing or malformed years are omitted. DOIs are normalized case-insensitively, and repeated DOI records emit only the first entry so citation keys stay unique and deterministic.

All search-provided text fields are treated as untrusted plain text. Control characters, backticks, embedded BibTeX entry fragments, backslashes, and unbalanced braces are neutralized before field emission; structural URL characters are percent-encoded without discarding Unicode locators. This keeps truncated search snippets from corrupting the generated BibTeX database.

Version History

  • 95673be Current 2026-08-07 00:59

    使核心MetaSkills具备生产就绪能力,强化设置与执行契约。

  • f662be3 2026-07-31 11:49
  • 7f72a32 2026-07-05 18:39

Same Skill Collection

src/opensquilla/skills/bundled/advanced-dubbing-studio/SKILL.md
src/opensquilla/skills/bundled/ai-video-script/SKILL.md
src/opensquilla/skills/bundled/audio-cog/SKILL.md
src/opensquilla/skills/bundled/awesome-webpage-image-download/SKILL.md
src/opensquilla/skills/bundled/awesome-webpage-research/SKILL.md
src/opensquilla/skills/bundled/AwesomeWebpageMetaSkill/SKILL.md
src/opensquilla/skills/bundled/cron/SKILL.md
src/opensquilla/skills/bundled/docx/SKILL.md
src/opensquilla/skills/bundled/filesystem/SKILL.md
src/opensquilla/skills/bundled/git-diff/SKILL.md
src/opensquilla/skills/bundled/github/SKILL.md
src/opensquilla/skills/bundled/history-explorer/SKILL.md
src/opensquilla/skills/bundled/html-coder/SKILL.md
src/opensquilla/skills/bundled/html-to-pdf/SKILL.md
src/opensquilla/skills/bundled/http-fetch/SKILL.md
src/opensquilla/skills/bundled/latex-compile/SKILL.md
src/opensquilla/skills/bundled/memory/SKILL.md
src/opensquilla/skills/bundled/meta-kid-project-planner/SKILL.md
src/opensquilla/skills/bundled/multi-search-engine/SKILL.md
src/opensquilla/skills/bundled/music-and-singing-studio/SKILL.md
src/opensquilla/skills/bundled/nano-banana-pro-openrouter/SKILL.md
src/opensquilla/skills/bundled/nano-banana-pro/SKILL.md
src/opensquilla/skills/bundled/nano-pdf/SKILL.md
src/opensquilla/skills/bundled/openrouter-video-generator/SKILL.md
src/opensquilla/skills/bundled/paper-abstract-author/SKILL.md
src/opensquilla/skills/bundled/paper-artifact-runtime/SKILL.md
src/opensquilla/skills/bundled/paper-citation-integrity-gate/SKILL.md
src/opensquilla/skills/bundled/paper-citation-planner/SKILL.md
src/opensquilla/skills/bundled/paper-delivery-summary/SKILL.md
src/opensquilla/skills/bundled/paper-experiment-stub/SKILL.md
src/opensquilla/skills/bundled/paper-latex-sanitizer/SKILL.md
src/opensquilla/skills/bundled/paper-length-gate/SKILL.md
src/opensquilla/skills/bundled/paper-outline-author/SKILL.md
src/opensquilla/skills/bundled/paper-preference-planner/SKILL.md
src/opensquilla/skills/bundled/paper-quality-gate/SKILL.md
src/opensquilla/skills/bundled/paper-revision-author/SKILL.md
src/opensquilla/skills/bundled/paper-section-author/SKILL.md
src/opensquilla/skills/bundled/paper-source-curator/SKILL.md
src/opensquilla/skills/bundled/paper-source-readiness-gate/SKILL.md
src/opensquilla/skills/bundled/pptx/SKILL.md
src/opensquilla/skills/bundled/seedance-2-prompt/SKILL.md
src/opensquilla/skills/bundled/short-drama-delivery-audit/SKILL.md
src/opensquilla/skills/bundled/short-drama-review-normalizer/SKILL.md
src/opensquilla/skills/bundled/skill-creator-linter/SKILL.md
src/opensquilla/skills/bundled/skill-creator-proposals/SKILL.md
src/opensquilla/skills/bundled/skill-creator-smoke-test/SKILL.md
src/opensquilla/skills/bundled/srt-from-script/SKILL.md
src/opensquilla/skills/bundled/stack-trace-generic-probe/SKILL.md
src/opensquilla/skills/bundled/stack-trace-go-probe/SKILL.md

Metadata

Files
0
Version
95673be
Hash
f1c13054
Indexed
2026-07-05 18:39

Accueil - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-08 02:34
浙ICP备14020137号-1 $Carte des visiteurs$