Token导航 LogoToken导航TokenDH.com
研究检索只读github未标认证来源可访问clear审计未展示

always-init总是初始化

Agent Skill

always-init 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

98

周安装

4

GitHub Stars

公开资料未说明

下载量

31
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:always-init(总是初始化)
来源仓库:https://github.com/danielmiessler/paiplugin
仓库路径:skills/always-init
安装命令:
npx skills add danielmiessler/paiplugin --skill "always-init"
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

AgentSkills.tonpx skills
npx skills add danielmiessler/paiplugin --skill "always-init"

简介

always-init 帮助发现并安装适用于 AI 代理的新技能,扩展宿主能力边界。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 等环境中主动探索可用工具时使用。
  • 通过 npx 命令添加指定技能路径,实现动态加载与集成,提升工作流灵活性。
  • 安装前需核实技能仓库的有效性与安全性,避免引入不可控依赖或权限过高模块。
  • 建议结合具体任务需求筛选合适技能,并在沙箱环境先行测试以确保兼容性。

SKILL.md

name
always-init
description
Universal task initializer that automatically loads PAI context for all user requests. Ensures complete context availability (contacts, preferences, protocols) before responding to any task. (project, gitignored)

ALWAYS-INIT - Universal Task Initializer


⚠️ CRITICAL SYSTEM REQUIREMENT ⚠️

AUTOMATIC INVOCATION REQUIRED: This skill MUST be automatically invoked as the FIRST action for EVERY user request without exception.

Trigger Pattern: ALL user messages/requests Priority Level: P0 (Highest - blocks all other operations) Automation Rule: if (userRequest) → invoke("always-init") → then processRequest()


🎯 Purpose

Universal context loader providing complete PAI (Personal AI Infrastructure):

  • 👥 Contacts: Alice, Bob, Carol, Dave, team members
  • 🛠️ Stack Preferences: TypeScript>Python, bun>npm, uv>pip
  • 🔒 Security Protocols: Repository safety, credential handling
  • 📝 Response Format: Structured output standards
  • 🎙️ Voice Routing: ElevenLabs voice IDs for agents
  • ⚙️ Operating Instructions: Personal preferences and workflows

❌ Consequences of Skipping

Without ALWAYS-INIT context loading:

  • Responses lack relationship/contact awareness
  • Wrong technical stacks used (npm instead of bun, pip instead of uv)
  • Security protocols violated
  • Incorrect response formatting
  • Missing personalization
  • Context-dependent decisions fail
  • Agent routing fails

🔄 Implementation Protocol

For AI Assistant (Claude):

1. Receive user request
2. ⚡ IMMEDIATELY: Skill("always-init")  ← THIS STEP
3. Wait for PAI context to load
4. THEN proceed with request processing

For Skill System (Automation):

// Automatic prepend to request pipeline
function handleUserRequest(request) {
  await invokeSkill("always-init");  // MANDATORY FIRST STEP
  const paiContext = loadContext();
  return processWithContext(request, paiContext);
}

🎯 Success Criteria

This skill is working correctly when:

  • ✅ Invoked before ANY tool use
  • ✅ Invoked before ANY other skill
  • ✅ Invoked before ANY response formulation
  • ✅ Invoked for 100% of user requests
  • ✅ PAI context available in all subsequent operations

📍 Context Loading

Execute: read ~/.claude/skills/PAI/SKILL.md

This provides the complete Personal AI Infrastructure context that all skills and responses depend on.

Once PAI context is loaded, proceed immediately with the user's actual request.

🏗️ Design Philosophy

This skill implements a "context-first" architecture where PAI loads universally rather than being distributed across individual skills. It acts as a bootstrap loader that:

  1. Triggers on every user interaction
  2. Loads PAI context once
  3. Gets out of the way
  4. Allows the actual task to proceed

This eliminates the need for individual skills to manually load PAI context and ensures consistent, complete context availability across all operations.


💡 Implementation Note:

Ideally, this skill should be hardcoded into the request handler rather than relying on manual invocation. The skill system should automatically prepend this to every request pipeline.

Alternative Approach: Add to system prompt: "Before responding to ANY user request, you MUST first invoke the always-init skill to load PAI context."

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Antigravity

71.61%
按下载量换算22

安全审计

暂无安全审计结果可展示。

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills