Skip to content
Back to skills

Inject

ASecurity

系统级 Skill:系统自动触发,非用户直接调用。为当前任务自动注入相关知识上下文。根据请求语义检索知识库,按注入策略格式化后注入 Agent 上下文窗口。

  • 2,237 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 6, 2026
ai-agentsbash

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 6, 2026

npx -y skills add LeoYeAI/agent-master-skills --skill inject --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Inject?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Inject
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/leoyeai-inject-agent-master-skills/badge)](https://www.skillsdirectory.com/skills/leoyeai-inject-agent-master-skills)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: context-inject
description: "系统级 Skill:系统自动触发,非用户直接调用。为当前任务自动注入相关知识上下文。根据请求语义检索知识库,按注入策略格式化后注入 Agent 上下文窗口。"
trigger-mode: system
---

# ContextInjectSkill — 上下文注入

为 Agent 当前任务自动注入相关知识上下文,提升回答质量。

## 触发词

system:context-inject

## 使用方式

```bash
# 为查询注入相关上下文
tsx scripts/inject.ts --query "当前用户请求" [--budget <tokens>]

# 指定注入格式
tsx scripts/inject.ts --query "设计决策" --format markdown --budget 3000
```

## 核心路径

`src/injection/context-injector.ts` → `src/injection/injection-policy.ts`

Files in this skill

  • SKILL.md761 B
  • scripts/inject.ts2.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.