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-workflowskill assets - Select the active subject package with
--subject core|economics|accounting|business|finance|political-economy|geoeconomics|economics-accounting - Choose package coverage with
--coverage complete|focused(completeis the default) - Upgrade assets to newer upstream versions
- Support
codex,claude,gemini, oralltargets - 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 qiongliupdates the lightweight Python CLI.qiongli install --target allinstalls the defaultcore/completepackage.qiongli install --subject economics --target allinstalls the full framework plus economics specialization.qiongli install --subject accounting --target allinstalls the full framework plus accounting specialization.qiongli install --subject business --target allinstalls the full framework plus business/management specialization.qiongli install --subject finance --target allinstalls the full framework plus finance specialization.qiongli install --subject political-economy --target allinstalls the full framework plus political economy specialization.qiongli install --subject geoeconomics --target allinstalls the full framework plus geoeconomics specialization.qiongli install --subject economics --coverage focused --target allinstalls the slimmer economics-focused package.qiongli install --subject economics-accounting --target allinstalls the official economics/accounting composite.qiongli upgrade --subject accounting --target allrefreshes the active globalqiongli-workflowskill assets for Codex, Claude Code, Gemini, and Antigravity.--project-diris not required for normal global upgrades. It only selects a project when you rundoctor, load project-levelqiongli.toml/.qiongli.toml, or explicitly write project files withqiongli 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:
qiongliqlresearch-skills(legacy)rskrsw
Check updates
qiongli check
Upgrade assets
qiongli install --target all
qiongli install --subject economics --target all
qiongli install --subject accounting --target all
qiongli install --subject business --target all
qiongli install --subject finance --target all
qiongli install --subject political-economy --target all
qiongli install --subject geoeconomics --target all
qiongli install --subject economics --coverage focused --target all
qiongli install --subject economics-accounting --target all
qiongli upgrade --subject accounting --target all
Run doctor only when you want to check a specific project runtime:
qiongli upgrade --subject economics --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:
--repoargumentQIONGLI_REPOenvironment variable- legacy
RESEARCH_SKILLS_REPOenvironment variable qiongli.tomlor.qiongli.tomlin your project path- 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 --subject core --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 install --target all
qiongli install --subject economics --target all
qiongli install --subject accounting --target all
qiongli install --subject business --target all
qiongli install --subject finance --target all
qiongli install --subject political-economy --target all
qiongli install --subject geoeconomics --target all
qiongli install --subject economics-accounting --target all
# Optional: initialize project-local files only when you want them
qiongli init --project-dir /path/to/project
--subject defaults to core and --coverage defaults to complete, so the default install is core/complete. With complete coverage, a specialized install keeps the full core framework and adds the requested subject overlays and subject-specific skills. --subject economics, --subject business, --subject finance, --subject political-economy, and --subject geoeconomics mean complete specialized installs, not reduced packages. --subject accounting means accounting/complete, full framework plus accounting specialization. Use --coverage focused only when you deliberately want the slimmer selected subject package used by Desktop/Web ZIPs. Current official subjects are core, economics, accounting, business, finance, political-economy, geoeconomics, and the named composite economics-accounting; composites are not arbitrary comma-separated stacking. Public Desktop ZIP subjects are core, economics, business, finance, political-economy, geoeconomics, and economics-accounting, with no standalone accounting Desktop ZIP in this phase. Subject packages are specialized installs, not reduced-quality cuts; switching subjects or coverage is another install/upgrade with the new flags. Older installs without a SUBJECT_MANIFEST.json or SUBJECT marker are treated as legacy core / complete.
Create local customization scaffolds from a source checkout when you need generated output with local overlays:
qiongli customize --subject economics --name my-econ-lab --out ./qiongli-custom/econ-lab
Local customization is supported through the source materializer:
python3 scripts/materialize_subject_package.py \
--subject economics \
--coverage complete \
--source . \
--custom-dir /path/to/custom-qiongli \
--out /tmp/qiongli-workflow
The custom directory can add local overlays, profiles, registry entries, and custom skill markdown for that generated output only. It does not modify the canonical source tree. qiongli customize plus --custom-dir materialization is for the Python/source checkout workflow; npm runtime installs use pre-generated payloads in this phase.
Links
- Repository: https://github.com/jxpeng98/qiongli
- Issues: https://github.com/jxpeng98/qiongli/issues
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file qiongli-1.2.1.tar.gz.
File metadata
- Download URL: qiongli-1.2.1.tar.gz
- Upload date:
- Size: 6.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1dcf12e783c0f26054148d074a126d4705116ecb78382c60ed2c14b3c79dd82f
|
|
| MD5 |
60a4964ae5cbf62d340ff2859045aff5
|
|
| BLAKE2b-256 |
c06d60a29a1ed549df2a504ce7c798d099343d9678d449aa4dae2247658adee1
|
Provenance
The following attestation bundles were made for qiongli-1.2.1.tar.gz:
Publisher:
publish-pypi.yml on jxpeng98/qiongli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
qiongli-1.2.1.tar.gz -
Subject digest:
1dcf12e783c0f26054148d074a126d4705116ecb78382c60ed2c14b3c79dd82f - Sigstore transparency entry: 1791566900
- Sigstore integration time:
-
Permalink:
jxpeng98/qiongli@315740ba9d425bbddab09824d09a92f893cd81af -
Branch / Tag:
refs/tags/v1.2.1 - Owner: https://github.com/jxpeng98
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@315740ba9d425bbddab09824d09a92f893cd81af -
Trigger Event:
push
-
Statement type:
File details
Details for the file qiongli-1.2.1-py3-none-any.whl.
File metadata
- Download URL: qiongli-1.2.1-py3-none-any.whl
- Upload date:
- Size: 8.8 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
13a3b68344a7e8d41e404a015dd4fe2b843a6b08bac7c59a5191874d9b815b30
|
|
| MD5 |
0365dbecadddb017106ee6c0ccd74200
|
|
| BLAKE2b-256 |
14473f6fed948735e05a67cd858482f4a7c73308943bbe0516e1f158022f2e40
|
Provenance
The following attestation bundles were made for qiongli-1.2.1-py3-none-any.whl:
Publisher:
publish-pypi.yml on jxpeng98/qiongli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
qiongli-1.2.1-py3-none-any.whl -
Subject digest:
13a3b68344a7e8d41e404a015dd4fe2b843a6b08bac7c59a5191874d9b815b30 - Sigstore transparency entry: 1791566948
- Sigstore integration time:
-
Permalink:
jxpeng98/qiongli@315740ba9d425bbddab09824d09a92f893cd81af -
Branch / Tag:
refs/tags/v1.2.1 - Owner: https://github.com/jxpeng98
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@315740ba9d425bbddab09824d09a92f893cd81af -
Trigger Event:
push
-
Statement type: