Skip to main content

Installer/upgrader CLI for qiongli (Codex / Claude Code / Gemini) without requiring a git fork.

Project description

qiongli

qiongli is the lightweight updater CLI for Qiongli (穷理), a contract-driven academic workflow system for Codex, Claude Code, and Gemini.

The full system name is Qiongli Zhengche (穷理证澈): Qiongli names the public research workflow, while Zhengche names the evidence-governance method that keeps claims, citations, assumptions, and output paths auditable.

What it does

  • Install or refresh global qiongli-workflow skill assets
  • Upgrade assets to newer upstream versions
  • Support codex, claude, gemini, or all targets
  • Run doctor checks before/after installation

Installation

For a global CLI command, pipx is recommended:

pipx install qiongli

Upgrade an existing PyPI install with:

pipx upgrade qiongli

You can also install with pip:

pip install qiongli

If you use pip inside an active virtual environment, the CLI is installed into that environment. That only affects where the Python command lives; it does not make the workflow assets project-local.

Global-first update model

Current releases separate the package install from workflow asset installation:

  • pipx install qiongli / pipx upgrade qiongli updates the lightweight Python CLI.
  • qiongli upgrade --target all refreshes the global qiongli-workflow skill assets for Codex, Claude Code, Gemini, and Antigravity.
  • --project-dir is not required for normal global upgrades. It only selects a project when you run doctor, load project-level qiongli.toml / .qiongli.toml, or explicitly write project files with qiongli init / --parts project.

Global assets are written under client home directories such as:

~/.codex/skills/qiongli-workflow
~/.claude/skills/qiongli-workflow
~/.gemini/skills/qiongli-workflow

CLI

Main command and aliases:

  • qiongli
  • ql
  • research-skills (legacy)
  • rsk
  • rsw

Check updates

qiongli check

Upgrade assets

qiongli upgrade --target all

Run doctor only when you want to check a specific project runtime:

qiongli upgrade --target all --doctor --project-dir /path/to/project

The package includes a default upstream repo (jxpeng98/qiongli), so --repo is optional. Use --repo only when you want to override the default.

Override default repo (optional)

The CLI resolves upstream repo in this order:

  1. --repo argument
  2. QIONGLI_REPO environment variable
  3. legacy RESEARCH_SKILLS_REPO environment variable
  4. qiongli.toml or .qiongli.toml in your project path
  5. Packaged default (qiongli/project.toml)

Option A: Global override

Add this to your shell profile (~/.zshrc, ~/.bashrc, etc.):

export QIONGLI_REPO="<owner>/<repo>"

Then reload shell:

source ~/.zshrc

Now you can run:

qiongli check
qiongli upgrade --target all

Option B: Project-level override

Create qiongli.toml in your project root:

[upstream]
repo = "jxpeng98/qiongli"
url = "https://github.com/<owner>/<repo>"

This keeps the override local to that project.

Typical usage

# Install or update the CLI from PyPI
pipx install qiongli
pipx upgrade qiongli

# Refresh global workflow assets
qiongli upgrade --target all

# Optional: initialize project-local files only when you want them
qiongli init --project-dir /path/to/project

Links

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

qiongli-0.10.1.tar.gz (138.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

qiongli-0.10.1-py3-none-any.whl (43.9 kB view details)

Uploaded Python 3

File details

Details for the file qiongli-0.10.1.tar.gz.

File metadata

  • Download URL: qiongli-0.10.1.tar.gz
  • Upload date:
  • Size: 138.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for qiongli-0.10.1.tar.gz
Algorithm Hash digest
SHA256 dffde1314b11df01f7b1d1344c8258653a66a9cf33fedd317ea6a2166f40c585
MD5 ececd04c5d57b07b6a7e4213e1c8d516
BLAKE2b-256 617973cabde31cceba7ef902ac6c9e7e15e97c51aebe9429f763d839584204f8

See more details on using hashes here.

Provenance

The following attestation bundles were made for qiongli-0.10.1.tar.gz:

Publisher: publish-pypi.yml on jxpeng98/qiongli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file qiongli-0.10.1-py3-none-any.whl.

File metadata

  • Download URL: qiongli-0.10.1-py3-none-any.whl
  • Upload date:
  • Size: 43.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for qiongli-0.10.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f43e7589db6e6fc15f42f8b147454424686dcc742ae5008c9f5861bee25c4a4f
MD5 0b79ffc1c5aeff7dba6ee60c753667c6
BLAKE2b-256 f921c9f08af19abfba75061a65d477a802c48bea870d74fa09c2f514802e2cb4

See more details on using hashes here.

Provenance

The following attestation bundles were made for qiongli-0.10.1-py3-none-any.whl:

Publisher: publish-pypi.yml on jxpeng98/qiongli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page