Q-agent: Skill for Claude Code

.claude/skills/push-lean/SKILL.md

push-lean is a skill for Claude Code from WolfpackOfOne/Q-agent. It costs 33 tokens per session (954 once invoked), scanned A, original, MIT.

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 Code

Written for Claude Code: allowed-tools in frontmatter.

This is WolfpackOfOne/Q-agent's own configuration. It tells Claude Code how to work on Q-agent itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything Q-agent configures →

Reuse

Borrowing it

Nothing to install: this file belongs to WolfpackOfOne/Q-agent. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/WolfpackOfOne/Q-agent/main/.claude/skills/push-lean/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/WolfpackOfOne/Q-agent

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for push-lean

README.md
[![agentmods](https://agentmods.dev/badge/skills/wolfpackofone/q-agent/push-lean/github.svg)](https://agentmods.dev/skills/wolfpackofone/q-agent/push-lean)
Your own site
<a href="https://agentmods.dev/skills/wolfpackofone/q-agent/push-lean"><img src="https://agentmods.dev/badge/skills/wolfpackofone/q-agent/push-lean/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for push-lean

Your own site · 80×15
<a href="https://agentmods.dev/skills/wolfpackofone/q-agent/push-lean"><img src="https://agentmods.dev/badge/skills/wolfpackofone/q-agent/push-lean.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
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. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00033 $0.00954
Opus 5.5 $0.00013 $0.00382
Sonnet 5.5 $0.00007 $0.00191
Haiku 4.5 $0.00003 $0.00095

Measured 2mo ago against content hash ebaa5f0c98b8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2mo 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. 2mo 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 yesterday), licensed MIT. It adds 33 tokens to every session and 954 once invoked, about $0.0001 per session on Opus 5.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

gke-compute-classes

Configures, optimizes, and troubleshoots GKE ComputeClasses. Use when configuring Spot VMs with on-demand fallback, targeting specific accelerators (GPUs/TPUs) or machine families, restricting ComputeClass access, or debugging pending pods related to node pool auto-creation. Do not use for cluster-level Node Auto…

google/skills · 83 tokens

gke-workload-security

Audits, configures, and hardens workload-level security controls for Google Kubernetes Engine (GKE) applications and namespaces. Covers running security audits (auditcluster.sh), enforcing Network Policies (default-deny and Dataplane V2 logging), isolating high-risk pods inside GKE Sandbox (gVisor), enforcing Pod…

google/skills · 171 tokens

gke-reliability

Improves GKE workload reliability, using PDBs, health probes, and topology spread constraints. Use when configuring GKE workload reliability, setting up PDBs, or configuring GKE health probes (liveness, readiness, startup). Don't use for generating K8s YAML manifests (use gke-manifest-generation) or disaster recovery…

google/skills · 85 tokens

sector-rotation

An analysis framework for comparing industries in the Chinese A-share stock market, using business conditions, price momentum, valuation, and money flows. It produces rankings and higher- or lower-allocation suggestions.

HKUDS/Vibe-Trading · 39 tokens

nemo-automodel-launcher-config

Configure NeMo AutoModel job launches for interactive runs, Slurm clusters, and SkyPilot cloud execution.

NVIDIA/skills · 30 tokens

azure-mgmt-botservice-dotnet

Azure Resource Manager SDK for Bot Service in .NET. Management plane operations for creating and managing Azure Bot resources, channels (Teams, DirectLine, Slack), and connection settings. Triggers: "Bot Service", "BotResource", "Azure Bot", "DirectLine channel", "Teams channel", "bot management .NET", "create bot".

microsoft/skills · 78 tokens