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

codificacodifica 搜索

Agent Skill

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

总安装

19,075

周安装

811

GitHub Stars

公开资料未说明

下载量

6,683
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install codifica

简介

Codifica 协议为代理间转移任务时保留上下文,提供共享持久记忆支持。

  • 适合跨代理或人机协作中维持任务连续性,提升信息传递准确性。
  • 通过结构化存储实现零依赖导航,便于快速定位历史记录与决策依据。
  • 安装于 OpenClaw 环境,使用 clawhub 方式部署。
  • 需注意权限范围,防止越权访问或意外写入关键数据。

SKILL.md

name
codifica
description
Keep context when work moves between agents or between you and a human. Uses the Codifica protocol to give every agent a shared, persistent memory of tasks, decisions, and handoffs — stored as plain text in Git.
version
1.0.0
homepage
https://github.com/davidedicillo/codifica
metadata
{"openclaw":{"emoji":"📋","requires":{"anyBins":["git"]}}}

Codifica Protocol Agent

You are operating in a repository that uses the Codifica protocol (v0.2) — a file-based protocol for coordinating work between humans and AI agents.

Codifica uses plain text files committed with the code. There is no external service, no API, no database. Git is the audit log.

Before doing any work

  1. Read codifica.json at the repo root
  2. Read the spec file it references (the spec field — typically codifica-spec.md)
  3. Read ALL state files matching the state field (may be a string, glob, or array)

Do not proceed without reading the spec.

If codifica.json does not exist in the repo, this protocol does not apply — work normally.

Understanding codifica.json

{
  "protocol": "codifica",
  "version": "0.2",
  "spec": "codifica-spec.md",
  "state": "work.md",
  "assets": "assets/",
  "rules": "strict"
}

Key fields:

  • state — path to the state file(s). May be "work.md", "work/*.md", or an array like ["work/active.md", "work/done.md"]
  • rules — may be a string ("strict") or an object with allowed_agents, file_scope, max_concurrent_tasks_per_agent, stale_claim_hours, and custom_types

If rules is an object, check:

  • allowed_agents — if non-empty and your agent name is not listed, stop and ask a human
  • file_scope.include / file_scope.exclude — do not modify files outside the allowed scope
  • max_concurrent_tasks_per_agent — do not claim more tasks than this limit

Finding work

Scan all state files for tasks where:

  • state is todo
  • owner matches your agent name (agent:<your-name>) or is unassigned
  • All depends_on tasks have state: done

Pick by priority: critical > high > normal > low.

Among equal priority, prefer tasks with no depends_on (leaf tasks first).

Claiming a task

Before starting work, you MUST claim the task in a single atomic commit:

  1. Set state: in_progress
  2. Set owner: agent:<your-name>
  3. Set claimed_at: <ISO-8601 timestamp>
  4. Add a state_transitions entry recording the claim

Commit all these changes together. If you are working with a remote, push immediately. If the push fails (another agent claimed first), do NOT start work — pull, re-evaluate, and pick a different task.

An unassigned task in in_progress is a protocol violation.

Reading context before starting

Before starting a task, read its context field:

  • context.files — read these files for background
  • context.references — read execution_notes from these prior task IDs
  • context.constraints — hard rules beyond acceptance criteria
  • context.notes — free-form guidance from the human

If the task has depends_on, also read the dependency tasks' execution_notes (especially the summary) and artifacts for handoff context.

Doing the work

Follow the task's acceptance criteria. Respect any context.constraints. Work within the file_scope defined in codifica.json.

Recording completion

When you complete work, update the task in the state file:

  1. Add an execution_notes entry:
   execution_notes:
     - by: agent:<your-name>
       note: |
         Description of what you did.
       summary: "Single line, max 120 chars, scannable answer"
       timestamp: <ISO-8601>
       provenance:
         session_id: <your-session-id-if-available>
  1. Record any files you produced in artifacts:
   artifacts:
     - path: src/feature/new-file.ts
       type: code
     - path: assets/TASK-ID/output.csv
       type: csv
  1. Move the task to the appropriate next state:

- For build tasks: in_progressto_be_tested - For other types (test, investigate, followup): in_progressdone (may skip to_be_tested) - Set completed_at: <ISO-8601> when moving to done

  1. Add a state_transitions entry:
   state_transitions:
     - from: in_progress
       to: to_be_tested
       by: agent:<your-name>
       reason: "Work completed, ready for testing"
       timestamp: <ISO-8601>
  1. Commit with a message referencing the task ID: FEAT-101: implement login flow

Rules you MUST follow

  • Pull before reading state files. Pull before writing changes.
  • Claim tasks with a single commit before starting work.
  • If your claim push fails, do not start — pick a different task.
  • Never edit human_review sections.
  • Never delete or modify files in assets/.
  • Only the task owner may move a task from to_be_tested to done.
  • Never move tasks to blocked or rejected — only humans may do this.
  • Never reclaim stale tasks from other agents — only humans may reclaim.
  • Do not start tasks with unmet depends_on.
  • Include a summary (single line, max 120 chars) on your closing execution note.
  • Record artifacts produced by your work.
  • Set completed_at when moving a task to done.

Requesting a block

If you discover a genuine blocker (missing dependency, failing test, ambiguous requirement):

  • Add a note to execution_notes explaining the blocker and recommending the task be blocked
  • Do NOT move the task to blocked yourself — only humans may do this

Answering questions about work

When asked about what work has been done (by you or other agents):

  • Scan state files for tasks matching the query (by owner, state, labels, completed_at)
  • Read the summary field on closing execution_notes for quick answers
  • Drill into full note text and artifacts when more detail is needed
  • Use completed_at and labels to filter by time and domain

This is the structured alternative to reading chat transcripts.

Conflicts

If your push fails due to a Git conflict:

  1. Pull the latest state
  2. Re-evaluate whether your changes still apply
  3. Retry or yield to human resolution

Conflicts on the same task should be escalated to a human.

Task states reference

todo → in_progress → to_be_tested → done
         ↓                            ↑
       blocked ──→ todo ──────────────┘
         ↓
       rejected ──→ todo (human-only reopen)

Only humans may move tasks to blocked or rejected. Only humans may reopen tasks from rejected.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

OpenClaw

86.03%
按下载量换算5,749

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

未展示

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills