KosmoKrator

data

Crossref CLI for AI Agents

Use the Crossref CLI from KosmoKrator to call Crossref tools headlessly, return JSON, inspect schemas, and automate workflows from coding agents, scripts, and CI.

Crossref CLI Setup

Crossref can be configured headlessly with `kosmokrator integrations:configure crossref`.

Install, configure, and verify
# Install KosmoKrator first if it is not available on PATH.
curl -fsSL https://raw.githubusercontent.com/OpenCompanyApp/kosmokrator/main/install.sh | bash

# Configure and verify this integration.
kosmokrator integrations:configure crossref --enable --read allow --write ask --json
kosmokrator integrations:doctor crossref --json
kosmokrator integrations:status --json

Credentials

Authentication type: No credentials none. Configure credentials once, then reuse the same stored profile from scripts, coding CLIs, Lua, and MCP.

No credentials are required.

Command Patterns

The generic command is stable across every integration. The provider shortcut is shorter for humans.

Generic CLI call
kosmo integrations:call crossref.crossref_list_works '{}' --json
Provider shortcut
kosmo integrations:crossref crossref_list_works '{}' --json

Discovery

These commands return structured output for coding agents that need to inspect capabilities before choosing a function.

Discovery commands
kosmo integrations:docs crossref --json
kosmo integrations:docs crossref.crossref_list_works --json
kosmo integrations:schema crossref.crossref_list_works --json
kosmo integrations:search "Crossref" --json
kosmo integrations:list --json

Automation Contexts

The same configured command surface works in these environments. The command does not change unless the host wrapper, credentials, or permissions change.

CLI Functions

Every function below can be called headlessly. Commands are highlighted, copyable, and scroll horizontally when payloads are long.

crossref.crossref_list_works

List, search, filter, facet, sample, or page Crossref works.

Read read
Parameters
none
Generic call
kosmo integrations:call crossref.crossref_list_works '{}' --json
Shortcut
kosmo integrations:crossref crossref_list_works '{}' --json

crossref.crossref_get_work

Get one Crossref work by DOI.

Read read
Parameters
none
Generic call
kosmo integrations:call crossref.crossref_get_work '{}' --json
Shortcut
kosmo integrations:crossref crossref_get_work '{}' --json

crossref.crossref_get_work_agency

Get DOI registration agency.

Read read
Parameters
none
Generic call
kosmo integrations:call crossref.crossref_get_work_agency '{}' --json
Shortcut
kosmo integrations:crossref crossref_get_work_agency '{}' --json

crossref.crossref_list_journals

List Crossref journals.

Read read
Parameters
none
Generic call
kosmo integrations:call crossref.crossref_list_journals '{}' --json
Shortcut
kosmo integrations:crossref crossref_list_journals '{}' --json

crossref.crossref_get_journal

Get journal details by ISSN.

Read read
Parameters
none
Generic call
kosmo integrations:call crossref.crossref_get_journal '{}' --json
Shortcut
kosmo integrations:crossref crossref_get_journal '{}' --json

crossref.crossref_list_journal_works

List works in a journal.

Read read
Parameters
none
Generic call
kosmo integrations:call crossref.crossref_list_journal_works '{}' --json
Shortcut
kosmo integrations:crossref crossref_list_journal_works '{}' --json

crossref.crossref_list_members

List Crossref members.

Read read
Parameters
none
Generic call
kosmo integrations:call crossref.crossref_list_members '{}' --json
Shortcut
kosmo integrations:crossref crossref_list_members '{}' --json

crossref.crossref_get_member

Get member details.

Read read
Parameters
none
Generic call
kosmo integrations:call crossref.crossref_get_member '{}' --json
Shortcut
kosmo integrations:crossref crossref_get_member '{}' --json

crossref.crossref_list_member_works

List works for a member.

Read read
Parameters
none
Generic call
kosmo integrations:call crossref.crossref_list_member_works '{}' --json
Shortcut
kosmo integrations:crossref crossref_list_member_works '{}' --json

crossref.crossref_get_prefix

Get prefix steward.

Read read
Parameters
none
Generic call
kosmo integrations:call crossref.crossref_get_prefix '{}' --json
Shortcut
kosmo integrations:crossref crossref_get_prefix '{}' --json

crossref.crossref_list_prefix_works

List works for a prefix.

Read read
Parameters
none
Generic call
kosmo integrations:call crossref.crossref_list_prefix_works '{}' --json
Shortcut
kosmo integrations:crossref crossref_list_prefix_works '{}' --json

crossref.crossref_list_funders

List funders.

Read read
Parameters
none
Generic call
kosmo integrations:call crossref.crossref_list_funders '{}' --json
Shortcut
kosmo integrations:crossref crossref_list_funders '{}' --json

crossref.crossref_get_funder

Get funder details.

Read read
Parameters
none
Generic call
kosmo integrations:call crossref.crossref_get_funder '{}' --json
Shortcut
kosmo integrations:crossref crossref_get_funder '{}' --json

crossref.crossref_list_funder_works

List works for a funder.

Read read
Parameters
none
Generic call
kosmo integrations:call crossref.crossref_list_funder_works '{}' --json
Shortcut
kosmo integrations:crossref crossref_list_funder_works '{}' --json

crossref.crossref_list_types

List work types.

Read read
Parameters
none
Generic call
kosmo integrations:call crossref.crossref_list_types '{}' --json
Shortcut
kosmo integrations:crossref crossref_list_types '{}' --json

crossref.crossref_get_type

Get work type details.

Read read
Parameters
none
Generic call
kosmo integrations:call crossref.crossref_get_type '{}' --json
Shortcut
kosmo integrations:crossref crossref_get_type '{}' --json

crossref.crossref_list_type_works

List works for a type.

Read read
Parameters
none
Generic call
kosmo integrations:call crossref.crossref_list_type_works '{}' --json
Shortcut
kosmo integrations:crossref crossref_list_type_works '{}' --json

crossref.crossref_list_licenses

List licenses.

Read read
Parameters
none
Generic call
kosmo integrations:call crossref.crossref_list_licenses '{}' --json
Shortcut
kosmo integrations:crossref crossref_list_licenses '{}' --json

Function Schemas

Use these parameter tables when building CLI payloads without calling integrations:schema first.

crossref.crossref_list_works 0 parameters
Schema command
kosmo integrations:schema crossref.crossref_list_works --json
ParameterTypeRequiredDescription
No parameters.
crossref.crossref_get_work 0 parameters
Schema command
kosmo integrations:schema crossref.crossref_get_work --json
ParameterTypeRequiredDescription
No parameters.
crossref.crossref_get_work_agency 0 parameters
Schema command
kosmo integrations:schema crossref.crossref_get_work_agency --json
ParameterTypeRequiredDescription
No parameters.
crossref.crossref_list_journals 0 parameters
Schema command
kosmo integrations:schema crossref.crossref_list_journals --json
ParameterTypeRequiredDescription
No parameters.
crossref.crossref_get_journal 0 parameters
Schema command
kosmo integrations:schema crossref.crossref_get_journal --json
ParameterTypeRequiredDescription
No parameters.
crossref.crossref_list_journal_works 0 parameters
Schema command
kosmo integrations:schema crossref.crossref_list_journal_works --json
ParameterTypeRequiredDescription
No parameters.
crossref.crossref_list_members 0 parameters
Schema command
kosmo integrations:schema crossref.crossref_list_members --json
ParameterTypeRequiredDescription
No parameters.
crossref.crossref_get_member 0 parameters
Schema command
kosmo integrations:schema crossref.crossref_get_member --json
ParameterTypeRequiredDescription
No parameters.
crossref.crossref_list_member_works 0 parameters
Schema command
kosmo integrations:schema crossref.crossref_list_member_works --json
ParameterTypeRequiredDescription
No parameters.
crossref.crossref_get_prefix 0 parameters
Schema command
kosmo integrations:schema crossref.crossref_get_prefix --json
ParameterTypeRequiredDescription
No parameters.
crossref.crossref_list_prefix_works 0 parameters
Schema command
kosmo integrations:schema crossref.crossref_list_prefix_works --json
ParameterTypeRequiredDescription
No parameters.
crossref.crossref_list_funders 0 parameters
Schema command
kosmo integrations:schema crossref.crossref_list_funders --json
ParameterTypeRequiredDescription
No parameters.
crossref.crossref_get_funder 0 parameters
Schema command
kosmo integrations:schema crossref.crossref_get_funder --json
ParameterTypeRequiredDescription
No parameters.
crossref.crossref_list_funder_works 0 parameters
Schema command
kosmo integrations:schema crossref.crossref_list_funder_works --json
ParameterTypeRequiredDescription
No parameters.
crossref.crossref_list_types 0 parameters
Schema command
kosmo integrations:schema crossref.crossref_list_types --json
ParameterTypeRequiredDescription
No parameters.
crossref.crossref_get_type 0 parameters
Schema command
kosmo integrations:schema crossref.crossref_get_type --json
ParameterTypeRequiredDescription
No parameters.
crossref.crossref_list_type_works 0 parameters
Schema command
kosmo integrations:schema crossref.crossref_list_type_works --json
ParameterTypeRequiredDescription
No parameters.
crossref.crossref_list_licenses 0 parameters
Schema command
kosmo integrations:schema crossref.crossref_list_licenses --json
ParameterTypeRequiredDescription
No parameters.

Permissions

Headless calls still follow the integration read/write permission policy. Configure read/write defaults with integrations:configure. Add --force only for trusted automation that should bypass that policy.