Citation Diversifier for Openclaw

A precision tool for AI agents to increase citation density and diversity in academic drafts without altering existing factual claims.

willoscar
v1.0.0
Mar 19, 2026
0
794
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install citation-diversifier

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install citation-diversifier using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Citation Diversifier?

The Citation Diversifier is a specialized utility within the Openclaw Skills ecosystem designed to solve the common issue of under-cited AI-generated drafts. It addresses 'citation thirst' by generating a strategic Citation Budget Report that identifies gaps in unique references relative to global policy targets.

This skill operates under a strict no new facts guardrail, ensuring that it only utilizes existing keys from the project's bibliography. It maps these available references to specific subsections (H3s) based on predefined scope constraints, providing a structured plan for the citation-injector to follow during the editing phase.

Citation Diversifier Use Cases

  • Resolving pipeline-auditor failures caused by low unique-citation counts.
  • Improving the academic authority of a survey or paper by increasing reference density.
  • Planning citation distribution across multiple H3 subsections to avoid repetitive referencing.
  • Identifying the gap between current draft citations and the recommended global target.

How Citation Diversifier Works

  1. The skill analyzes the current DRAFT.md and compares unique citation counts against the global target specified in the project policy.
  2. It enumerates all H3 subsections using the project outline to establish a granular allocation plan.
  3. The tool cross-references available keys in ref.bib with the allowed scope for each subsection found in the writer context packs.
  4. It selects unused, scope-safe keys and assigns them to specific H3s to close the identified citation gap.
  5. A comprehensive CITATION_BUDGET_REPORT.md is generated, serving as a constraint sheet for downstream LLM injection tools.

Citation Diversifier Setup

To use this skill within your workspace, ensure python3 is installed and run the following command to generate a budget report:

# Generate a citation budget report for a specific workspace
python scripts/run.py --workspace workspaces/<your-workspace-name>

# To see all available configuration options
python scripts/run.py --help

Citation Diversifier Data Schema & Taxonomy

The skill interacts with the following file structure to maintain technical accuracy:

File Path Role Description
output/DRAFT.md Input The current manuscript being audited for citation density.
citations/ref.bib Input The source of truth for all valid BibTeX citation keys.
outline/outline.yml Input Defines the H3 structure for per-subsection budgeting.
outline/writer_context_packs.jsonl Input Mapping of allowed bibkeys to specific content scopes.
output/CITATION_BUDGET_REPORT.md Output The generated plan containing status, gap analysis, and H3 budgets.

Citation Diversifier Advanced Features

  • Support for blocking policy targets derived from citation_target definitions in queries.md.
  • Hierarchical scope prioritization: automatically prefers selected and mapped keys over global ones to maintain topical relevance.
  • Deterministic report generation via an optional helper script for rapid first-pass planning.
  • Seamless integration with citation-injector and draft-polisher for a complete automated revision workflow.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*