Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计提醒

intent-cliintent CLI 搜索

Agent Skill

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

总安装

214

周安装

9

GitHub Stars

13

下载量

75
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/dozybot001/intent --skill intent-cli

简介

用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词、任务场景或来源线索快速定位候选结果。

  • 支持从来源仓库获取上下文,结合安装命令和原始 README 核验具体用法。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • 适用于需要快速获取信息或背景知识的场景,提升研究效率。
  • 建议在提示词中明确搜索范围和筛选条件,避免无关结果干扰。

SKILL.md

Intent — semantic recording guide

This repo uses Intent (.intent/) to record semantic history: what you did and why, structured as formal objects that survive context loss across sessions and agents.

itt commands output JSON — parse them, don't guess.

When this activates

  • User invokes /intent-cli
  • User says "记录语义", "record what we did", "记录一下", or similar

Recording flow

Recording is retrospective. You look back at the work from the last semantic recording to now and summarize. This ensures semantic continuity — each recording picks up exactly where the previous one left off. If no previous recording exists (inspect is empty), tell the user you'll record from the current session start.

  1. Run itt inspect to check current state (active intents, decisions, suspended work)
  2. Create one intent — the goal of this interaction
  3. Create snaps — one per meaningful milestone
  4. Identify decisions — long-lived constraints worth formalizing (requires user confirmation)
  5. itt intent done — if the goal is fully resolved
itt intent create "Implemented auth retry logic" \
  --why "users on slow networks were getting logged out"
itt snap create "Added exponential backoff to API client" \
  --why "transient 503s from upstream caused cascading failures"
itt snap create "Updated error handling in login flow" \
  --why "old handler swallowed retry errors silently"
itt intent done

Writing high-quality semantics

Every object has two core fields: what (concise action/theme) and why (reasoning).

Intent: what + why

  • what: one sentence summarizing the goal — not a step, not a file name
  • why: the context or motivation behind the goal
GoodBad
"Migrate auth middleware to JWT""Update auth.py"
"Fix cascading timeout on slow networks""Fix bug"

One intent per recording, not per step. A recording session typically produces exactly one intent.

Snap: what + why

A snap is a milestone — a meaningful chunk of completed work under the intent.

  • what: what was done, scannable in a list
  • why: why this approach was chosen, not a restatement of what
GoodBad
what: "Added retry with exponential backoff"what: "Modified api_client.py lines 42-78"
why: "Linear retry overwhelmed the upstream during recovery"why: "Because we needed retries"

Snap boundary judgment

Ask: "If I removed this snap, would the intent's story have a gap?"
  Yes → keep it as a snap
  No  → too granular, merge into another snap or skip

Rules of thumb:

  • Snap it: architectural choice, non-obvious trade-off, significant code change, a conclusion from investigation
  • Skip it: routine edits, formatting, dependency bumps, trivial fixes that need no explanation

Decision: what + why

A decision is a long-lived constraint that outlives the current intent.

The test: would a future intent on a completely different problem still need to respect this? Yes → decision. No → it's just a snap.

DecisionNot a decision (snap it)
"All API responses must include request_id for tracing""Added request_id to the auth endpoint response"
"SKILL must be self-contained — agent reads only SKILL""Rewrote SKILL to clarify the recording flow"

Never create a decision without user involvement.

PathTriggerAction
ExplicitUser says decision-[text] or 决定-[text]Create directly
DiscoveredYou spot a long-lived constraintAsk: "Should I record this as a decision?" → create only after confirmation

If a user request conflicts with an active decision, say so and ask whether to deprecate.

Session recovery

When activated, always run itt inspect first:

  1. Active intents → continue from latest_snap, don't ask user to re-explain
  2. Active decisions → respect them as standing constraints
  3. Suspended intents → mention if relevant
  4. Warnings → run itt doctor
  5. Everything empty → fresh workspace

Key rules

  • Recording is user-initiated — like git commit, only when asked
  • One intent per recording — summarize the goal, not each step
  • Snap semantics, not mechanical details — capture what+why, not diffs or command logs
  • Decisions require user confirmation — never create on your own judgment
  • Always done completed intents — stale intents pollute inspect
  • Decision hygiene — when active_decisions > 20, prompt: "当前有 N 条 active decision,要做一轮清理吗?"

Objects

ObjectFieldsStates
Intentwhat, why, snap_ids[], decision_ids[]activesuspendactivedone
Snapwhat, why, intent_idImmutable
Decisionwhat, why, intent_ids[], reasonactivedeprecated

All objects also carry: id, object, created_at, origin (auto-detected).

Relationships are bidirectional and append-only. Objects are immutable after creation — correct via new snap.

Command reference

Global

CommandWhat it does
itt initCreate .intent/ in current git repo
itt inspectRecovery view — start every recording here
itt doctorValidate object graph
itt versionPrint version

Intent

CommandWhat it does
itt intent create WHAT [--why W]New intent (auto-attaches active decisions)
itt intent activate [ID]suspendactive (catches up decisions; infers ID when unique)
itt intent suspend [ID]activesuspend (infers ID when unique)
itt intent done [ID]activedone (infers ID when unique)

Snap

CommandWhat it does
itt snap create WHAT [--why W]Semantic snapshot (auto-attaches to active intent; --intent ID if multiple)

Decision

CommandWhat it does
itt decision create WHAT [--why W]New decision (auto-attaches active intents)
itt decision deprecate ID [--reason TEXT]activedeprecated

Hub

CommandWhat it does
itt hub start [--port PORT] [--no-open]Launch IntHub Local
itt hub link [--project-name NAME] [--api-base-url URL]Link workspace to IntHub
itt hub sync [--dry-run]Push semantic history to IntHub

JSON output

Success: {"ok": true, "action": "...", "result": {...}, "warnings": []}

Inspect: {"ok": true, "active_intents": [], "active_decisions": [], "suspended": [], "warnings": []}

Error: {"ok": false, "error": {"code": "...", "message": "...", "suggested_fix": "itt..."}}

When suggested_fix is present, follow it.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

展示第三方安全扫描或审计结果

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

平台分布

Codex

36.93%
按下载量换算28

Claude

29.98%
按下载量换算22

Cursor

19.83%
按下载量换算15

Gemini CLI

8.03%
按下载量换算6

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

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

来源信息

继续浏览同类 Skills