QianYuan.AIAgenticFramework: Skill for Claude Code

.agents/skills/proactive-agent/SKILL.md

proactive-agent is a skill for Claude Code, Codex from zhouguoqing/QianYuan.AIAgenticFramework. It costs 99 tokens per session (3,479 once invoked), scanned B, original, Apache-2.0.

A set of patterns for making an AI agent remember useful context, notice needs, and maintain itself over time. It includes ideas such as proactive check-ins, asking for approval before suggesting new work, and protecting the agent from harmful inputs.

In plain words
What is it for?
Use it to design agent memory, context-saving routines, check-ins, self-repair processes, security protections, and ways to suggest useful follow-up work.
Why use it?
It addresses agents that only respond to direct requests, lose context when their conversation fills up, or need repeated manual fixes.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents); mentions AGENTS.md.

This is zhouguoqing/QianYuan.AIAgenticFramework's own configuration. It tells Claude Code and Codex how to work on QianYuan.AIAgenticFramework 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 QianYuan.AIAgenticFramework configures →

Reuse

Borrowing it

Nothing to install: this file belongs to zhouguoqing/QianYuan.AIAgenticFramework. 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/zhouguoqing/QianYuan.AIAgenticFramework/main/.agents/skills/proactive-agent/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/zhouguoqing/QianYuan.AIAgenticFramework

Made for: Claude Code, Codex.

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 proactive-agent

README.md
[![agentmods](https://agentmods.dev/badge/skills/zhouguoqing/qianyuan.aiagenticframework/proactive-agent/github.svg)](https://agentmods.dev/skills/zhouguoqing/qianyuan.aiagenticframework/proactive-agent)
Your own site
<a href="https://agentmods.dev/skills/zhouguoqing/qianyuan.aiagenticframework/proactive-agent"><img src="https://agentmods.dev/badge/skills/zhouguoqing/qianyuan.aiagenticframework/proactive-agent/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 proactive-agent

Your own site · 80×15
<a href="https://agentmods.dev/skills/zhouguoqing/qianyuan.aiagenticframework/proactive-agent"><img src="https://agentmods.dev/badge/skills/zhouguoqing/qianyuan.aiagenticframework/proactive-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 99 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,479 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00099 $0.03479
Opus 5 $0.00049 $0.01740
Sonnet 5 $0.00020 $0.00696
Haiku 4.5 $0.00010 $0.00348

Measured 9d ago against content hash 0727c775f796, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade B, and why

proactive-agent scanned grade B with 1 finding 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 9d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/security-audit.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Instruction-override phrasingmediumPrompt injection

Text telling the model to disregard its earlier instructions or safety rules is the shape of a prompt injection, whoever wrote it.

- "ignore previous instructions," "you are now...," "disregard your programming"

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

.agents/skills/proactive-agent/SKILL.md · 416 lines

How it starts

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

Proactive Agent

A proactive, self-improving architecture for your AI agent.

Most agents just wait. This one anticipates your needs — and gets better at it over time.

Proactive — creates value without being asked

Anticipates your needs — Asks "what would help my human?" instead of waiting to be told

Reverse prompting — Surfaces ideas you didn't know to ask for, and waits for your approval

Proactive check-ins — Monitors what matters and reaches out when something needs attention

Self-improving — gets better at serving you

Memory that sticks — Saves context before compaction, compounds knowledge over time

Self-healing — Fixes its own issues so it can focus on yours

Security hardening — Stays aligned to your goals, not hijacked by bad inputs

The result: An agent that anticipates your needs — and gets better at it every day.


Contents

  1. Quick Start
  2. Onboarding
  3. Core Philosophy
  4. Architecture Overview
  5. The Five Pillars
  6. Heartbeat System
  7. Reverse Prompting ← New!
  8. Growth Loops (Curiosity, Patterns, Capabilities, Outcomes)
  9. Assets & Scripts

Quick Start

  1. Copy assets to your workspace: cp assets/*.md ./
  2. Your agent detects ONBOARDING.md and offers to get to know you
  3. Answer questions (all at once, or drip over time)
  4. Agent auto-populates USER.md and SOUL.md from your answers
  5. Run security audit: ./scripts/security-audit.sh

Onboarding

New users shouldn't have to manually fill [placeholders]. The onboarding system handles first-run setup gracefully.

Three modes:

Mode Description
Interactive Answer 12 questions in ~10 minutes
Drip Agent asks 1-2 questions per session over days
Skip Agent works immediately, learns from conversation

Read the full file on GitHub · 416 lines

Files

What ships with it

10 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 9d ago First seen · 416 lines · 99 tokens per session scan B 0727c775f796

Subscribe to this mod's changes

proactive-agent is a skill published in the GitHub repository zhouguoqing/QianYuan.AIAgenticFramework (36 stars, last pushed 24d ago), licensed Apache-2.0. It adds 99 tokens to every session and 3,479 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it B with 1 finding (instruction-override phrasing). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

distill-session-knowledge

Offline-mine this project's pi session JSONL logs into reusable, verified knowledge: extracts faults, decisions, corrections, procedures and docs, promotes only recurring patterns, and routes artifacts into skillmanage, memory and docs. Use on "mine my sessions", "distill session knowledge", "extract lessons from…

BlackBeltTechnology/pi-agent-dashboard · 78 tokens

quarter-clone

Clone the last quarter of the current conversation, discarding earlier context to reduce token usage while preserving recent work.

ykdojo/claude-code-tips · 26 tokens

half-clone

Clone the later half of the current conversation, discarding earlier context to reduce token usage while preserving recent work.

ykdojo/claude-code-tips · 26 tokens

p5.js

Production pipeline for interactive and generative visual art using p5.js. Creates browser-based sketches, generative art, data visualizations, interactive experiences, 3D scenes, audio-reactive visuals, and motion graphics — exported as HTML, PNG, GIF, MP4, or SVG. Covers: 2D/3D rendering, noise and particle systems…

agentic-in/elephant-agent · 152 tokens

ASCII Video

Production pipeline for ASCII art video — any format. Converts video/audio/images/generative input into colored ASCII character video output (MP4, GIF, image sequence). Covers: video-to-ASCII conversion, audio-reactive music visualizers, generative ASCII art animations, hybrid video+audio reactive, text/lyrics…

agentic-in/elephant-agent · 118 tokens

Weights & Biases

Track ML experiments with automatic logging, visualize training in real-time, optimize hyperparameters with sweeps, and manage model registry with W&B - collaborative MLOps platform.

agentic-in/elephant-agent · 38 tokens