agentleFS
Abner-MachadoAbner-Machado/agent-layer/agent-receipt/SKILL.md

agent-receipt

Skill2 starsChanged 57 days agoMITView on GitHub

Use quando um agente de IA executar uma acao, chamar ferramenta, editar arquivo ou gastar credito e for necessario registrar prova encadeada do que aconteceu. Nao use para fins que nao sejam rastreabilidade de acoes de agentes.

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 1

    1. getedgehq/skills★ 5same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository6 other files it gives its agents.

The file

Files
SKILL.md

agent-receipt

Recibo encadeado por acao de agente de IA. Cada recibo tem id, timestamp ISO, agente, ferramenta, hash sha256 da entrada, politica aplicada, resultado, custo e hash do recibo anterior, formando uma corrente verificavel com node:crypto.

Como usar

Adicionar um recibo

node cli.mjs append receipts.jsonl \
  --agent "Claude" \
  --tool "file_edit" \
  --input "conteudo alterado" \
  --policy "pode escrever" \
  --status ok \
  --cost 0.002

Verificar corrente

node cli.mjs verify receipts.jsonl

Ver resumo

node cli.mjs show receipts.jsonl

Formato do recibo

Cada linha do arquivo JSONL e um recibo com:

CampoTipoDescricao
idnumberIdentificador sequencial
timestampstringISO 8601
agentstringNome do agente
toolstringFerramenta chamada
inputHashstringSHA-256 da entrada
policystringPolitica que autorizou
statusstringok ou erro
costnumberCusto estimado
prevHashstring|nullHash do recibo anterior
receiptHashstringSHA-256 deste recibo

Arquitetura

  • lib.mjs — funcoes puras (buildReceipt, verifyChain, summarize), sem I/O
  • cli.mjs — interface de comando com append, verify, show
  • test.mjs — 8 testes cobrindo adulteracao, remocao, corrente valida e vazio

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

Reviews can't be read right now.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.