feat(skills): bundle log-food Claude Code skill in-repo#39
Merged
Conversation
Moves the log-food skill out of phitoduck/private-claude-marketplace and
into this repo so the skill lives next to the CLI it drives — easier to
keep in sync, and one git history covers both the contract (CLI surface)
and the consumer (skill prose).
What's new:
- skills/log-food/SKILL.md — full rewrite for the post-overhaul CLI.
Replaces the old 14-pick Python probe workflow with describe-food
(one batched concurrent fetch returning labeled per-serving data).
Uses TOON output throughout (40-60% fewer tokens in context).
--serving-amount + --serving-unit replace the legacy --grams flag.
Diary readback uses labeled keys (food_measure_unit, nutrients_by_label)
instead of ordinal-keyed dicts. Documents --log-level trace +
--log-headers + chrome-mcp as last-resort debugging.
- .claude-plugin/marketplace.json + plugin.json — makes the repo
itself a Claude Code marketplace exposing the log-food plugin.
- README "Claude Code skill" section with install via:
claude plugin marketplace add phitoduck/lose-it
claude plugin install log-food@lose-it
The old phitoduck/private-claude-marketplace removal is a separate PR.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Moves the `log-food` Claude Code skill out of phitoduck/private-claude-marketplace and into this repo. The skill lives next to the CLI it drives, so contract changes (CLI surface) and consumer changes (skill prose) ship in the same git history.
What changed
--output toonfor token-efficient LLM piping #27).```bash
claude plugin marketplace add phitoduck/lose-it
claude plugin install log-food@lose-it
```
Catalog reset
The stale `~/.config/loseit/my-foods.toon` cache (built against the pre-overhaul `--grams` workflow with hardcoded pick indices) was backed up to `my-foods.toon.bak.` outside this PR. The new skill doesn't rely on a catalog at all — `describe-food` does the same inspection job inline and gives correct results on the first try.
Follow-up
Separate PR on `phitoduck/private-claude-marketplace` will remove the now-orphaned skill and update its README to point here.
Test plan