Aishare — AI skill for Claude Code
How much of the code you shipped did AI write.
How to install Aishare
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open ArkaKhorchidian/aishare and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Aishare does
How much of the code you shipped did AI write? Matches git blame against Claude Code, Codex and Gemini CLI session logs and AI co-author trailers.
Alternatives in AI
- CliRelay — Self-hosted AI gateway for coding CLIs — one OpenAI/Claude/Gemini/Codex-compatible endpoint, with a multi-tena 1k ★
- Project Butler — Project memory system for AI coding assistants (Claude Code, Cursor, Codex): session logs, project wiki, rules 372 ★
- Tokentab — A CLI that reads Claude Code, Codex, and Gemini CLI session logs and works out how much they cost, by model, p 226 ★
README
aishare
**How much of the code you shipped did AI write?** aishare looks at every line git blames on you this year that's still in your code, and works out which ones came from Claude Code, Codex, Gemini CLI, Copilot, Cursor and friends.
uvx aishare ~/code

Demo on a made-up developer's year (three repos plus agent logs) generated by docs/demo.py. Run it on your own code to get your number.
How it knows
Two independent signals, both read locally:
**Agent session logs.** Coding agents keep a transcript of every file they write or edit. aishare reads them and records the exact lines each agent produced, per file, and when:
- Claude Code:
~/.claude/projects/*/*.jsonl(Write,Edit,MultiEdit) - Codex CLI:
~/.codex/sessions/**/rollout-*.jsonl(apply_patch) - Gemini CLI:
~/.gemini/tmp/*/chats/session-*(write_file,replace)
Then it runs `git blame` on the files you changed in the period. A line counts as AI-written if an agent wrote that exact line (ignoring whitespace) into that file **before** the commit that introduced it. Lines you wrote earlier that an agent merely re-saved don't count, and lines you later rewrote by hand become yours.
- Claude Code:
**AI co-author trailers.** Commits that say `Co-authored-by: Claude / Copilot / Cursor Agent / Codex / Gemini / Aider / Devin…` or "Generated with Claude Code", plus commits authored by agent bots (Copilot coding agent, Devin, Jules).
Only substantive lines count: blank lines, lone braces and the like are skipped on both sides, and lockfiles, minified files and build output are ignored.
What it can't see
- Inline autocomplete (Copilot, Cursor Tab, Supermaven) leaves no log or trailer, so it's counted as yours. Real numbers are usually higher.
- Chat copy-paste from ChatGPT
Related Skills
AI Commit Sweeper
Find and prevent AI-agent attribution artifacts (session URLs, Generated with Claude Code, AI co-author traile
Ghostwriter
Your AI does the work. Your name signs it. A Claude Code skill (+ portable rules for other AI agents) that kee
Remove Claude Contributor
Remove Claude (or any AI co-author: Copilot, Codex, Cursor, Devin) from your GitHub repo Contributors list. St
Usage Guard
Guard a running swarm against the claude.ai session usage limit. Reads the usage page in the owner''s Chrome o
Agents Handoff
Write, verify, and hand off complete AI working sessions across any coding harness (Claude Code, Codex, DeepSe
Cocommit
Count the commits you and an AI agent wrote together — an SVG card for your GitHub profile, from git history r
Related Agents
CLI Researcher
Researches how an agent CLI (Codex, Gemini CLI, Kimi CLI, Grok, opencode…) stores its configuration — skills,
Agent Of Empires
Claude Code, OpenCode, Mistral Vibe, Codex CLI, Gemini CLI Coding Agent Terminal Session manager via tmux and
Developer Overview
code-container (container) creates isolated Docker environments for AI coding harnesses (Claude Code, OpenCode