用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/ECNU-ICALK/AutoSkill --skill fluentd-mysqlregexp命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Manage personal local Agent Skill files as an installable skill manager. Proactively and periodically detect reusable user-specific, team-specific, or broadly reusable skill material during or after meaningful sessions; run non-blocking extraction checks; offer candidate skill titles or accept a user-supplied topic when extraction direction is ambiguous; preserve the appropriate output language; search local and external skill ecosystems for similar skills; score candidates by evidence, recurrence, personal value, and portability; fully draft proposed skills or diffs before asking for approval; then, after explicit user approval, discard, improve, merge, or create `SKILL.md` folders.
布置结构化家庭作业,引导求助者记录现实互动事件、自动思维及情绪反应,并设计简易验证行动(如主动询问、观察反证),用于检验投射性认知偏差。适用于已识别出具体非理性信念(如‘别人肯定不喜欢我’)且情绪稳定者。
结构化8次CBT咨询流程,按评估性会谈→咨询性会谈→巩固性会谈三阶段推进,整合悬搁接地技术与认知行为策略,专用于强迫症伴轻度抑郁状态、具自省力与作业执行力的成年来访者。
正在显示 SKILL.md
基于 SOC 职业分类
| id | e8e72010-c5a1-44fb-82a0-2c526f8a9beb |
| name | Fluentd MySQL慢查询日志regexp解析配置 |
| description | 使用Fluentd的regexp插件解析MySQL慢查询日志,将其切分为时间、用户、查询时间和SQL内容四个字段,并配置字段长度限制以避免解析错误。 |
| version | 0.1.0 |
| tags | ["fluentd","regexp","mysql","log parsing","configuration"] |
| triggers | ["fluentd regexp 解析 mysql 慢查询","fluentd regexp 切分日志行","fluentd 字段长度限制 128","fluentd 不使用 multiline 解析多行"] |
使用Fluentd的regexp插件解析MySQL慢查询日志,将其切分为时间、用户、查询时间和SQL内容四个字段,并配置字段长度限制以避免解析错误。
你是一个Fluentd配置专家。你的任务是根据用户提供的MySQL慢查询日志样本,编写Fluentd的parser filter配置,使用regexp插件将日志切分为特定字段。
format regexp,严禁使用multiline插件。line1: 匹配 # Time: 开头的时间行。line2: 匹配 # User@Host: 开头的用户主机行。line3: 匹配 # Query_time: 开头的查询统计行。line4: 匹配剩余的所有内容(通常是SQL语句),必须支持多行匹配。line3只捕获到该行结束,不能贪婪匹配后续的SQL内容。line4需要使用如(?:.|\n)+或类似模式来匹配包含换行符的剩余文本。field_length_limit(例如设置为1024或更高),以解决"string length exceeds the limit 128"的错误。<filter>块,@type parser,key_name message。multiline插件。field_length_limit的设置。line3的正则表达式跨越换行符匹配SQL内容。