push-lean

A workflow for pushing a QuantConnect LEAN algorithm project to its Git remote and QuantConnect Cloud. QuantConnect Cloud is the online service used to store and run such projects.

In plain words
What is it for?
Use it to resolve a project under MyProjects/, verify its Git and QuantConnect configuration, push changes to GitHub or another remote, and deploy them to QuantConnect Cloud.
Why use it?
It checks the project and deployment setup before sending changes, reducing failures caused by missing repositories, configuration, or the LEAN command-line tool.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/wolfpackofone/q-agent/push-lean
Any agent
npx skills add WolfpackOfOne/Q-agent --skill push-lean
Clone the repo
git clone --depth 1 https://github.com/WolfpackOfOne/Q-agent

Made for: Claude Code, Codex.

Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 954 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00033 $0.00954
Opus 5 $0.00016 $0.00477
Sonnet 5 $0.00007 $0.00191
Haiku 4.5 $0.00003 $0.00095

Measured 2d ago against content hash ebaa5f0c98b8, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

push-lean scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/push-lean/SKILL.md · 164 lines

How it starts

The opening of the file, as written. The whole thing — 164 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Push LEAN Skill

Push a QuantConnect project to its configured Git remote and to QuantConnect Cloud.

Usage

/push-lean [project-name]

Examples:

  • /push-lean
  • /push-lean MomentumETF
  • /push-lean "My Strategy"

Purpose

Use this skill when the user wants to:

  • push or sync a project to QuantConnect Cloud
  • deploy the latest changes to QC
  • send changes to GitHub and QuantConnect Cloud

This skill is generic and should work for any project under:

~/Documents/Q-agent/MyProjects/<ProjectName>

Project Resolution

Determine the target project in this order:

  1. If the command includes a project name, use it.
  2. If the current working directory is inside MyProjects/<ProjectName>, use that project.
  3. Otherwise, ask the user which project to push.

Preconditions

Before pushing, verify:

  • project directory exists under MyProjects/
  • project is a Git repository
  • shared LEAN CLI exists at ~/Documents/Q-agent/venv/bin/lean
  • MyProjects/lean.json exists

If Git remote configuration is missing, stop and tell the user the project needs to be connected first.

If QuantConnect Cloud push is not configured or fails because the project is not connected, report that clearly and tell the user the project needs to be connected to QuantConnect Cloud before this skill can complete.

Workflow

1. Inspect Current State

From the project directory:

git status --short
git status -sb
git remote -v
git branch --show-current

Review what is about to be pushed before staging or committing.

2. Validate Changed Python Files

If there are changed .py files, run syntax validation before committing.

Prefer validating only changed files. For example:

python -m py_compile main.py
python -m py_compile models/*.py domain/*.py

If validation fails, stop and fix the issue before pushing.

3. Commit Local Changes

If there are uncommitted changes:

  1. Stage the relevant project files
  2. Create a clear commit message
  3. Do not create a commit if there are no changes

Read the full file on GitHub · 164 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 164 lines · 33 tokens per session scan A ebaa5f0c98b8

Subscribe to this mod's changes

push-lean is a skill published in the GitHub repository WolfpackOfOne/Q-agent (5 stars, last pushed 1mo ago), licensed MIT. It adds 33 tokens to every session and 954 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

kagent-dev

Development guide for kagent's v1alpha3 Harness and AgentTemplate CRDs, AgentInstance gRPC control plane, upstream A2A integration, Substrate runtime provisioning, tests, generation, and PR workflow. Use for any implementation, debugging, review, or CI task in the kagent repository.

kagent-dev/kagent · 65 tokens

timoni

Use when deploying applications to Kubernetes with Timoni. Covers installing and upgrading module instances from OCI registries, composing multi-app deployments with bundles, injecting values from clusters or CI with runtimes, targeting multiple clusters, and authoring, testing, signing and publishing modules with CUE.

stefanprodan/timoni · 59 tokens

durable-objects

Create and review Cloudflare Durable Objects. Use when building stateful coordination (chat rooms, multiplayer games, booking systems), implementing RPC methods, SQLite storage, alarms, WebSockets, or reviewing DO code for best practices. Covers Workers integration, wrangler config, and testing with Vitest. Biases…

cloudflare/skills · 76 tokens

ship-web-games

Package, deploy, and verify a playable Three.js or web game. Use for release builds, asset delivery, private/public deployment, production smoke tests, browser proof, release notes, rollback readiness, and cleanup of temporary QA resources.

MengTo/Skills · 50 tokens

hyperpod-version-checker

Check and compare software component versions on SageMaker HyperPod cluster nodes - NVIDIA drivers, CUDA toolkit, cuDNN, NCCL, EFA, AWS OFI NCCL, GDRCopy, MPI, Neuron SDK (Trainium/Inferentia), Python, and PyTorch. Use when checking component versions, verifying CUDA/driver compatibility, detecting version mismatches…

awslabs/agent-plugins · 120 tokens

slo-optimize

Analyzes Grafana SLO timeline trends via gcx and produces data-backed advisory recommendations: objective tuning, alerting sensitivity review, label visibility, or window adjustments. Use when the user wants to analyze SLO performance trends and receive improvement suggestions. Trigger on phrases like "optimize my…

grafana/gcx · 127 tokens