linkedin-post-batch-audit
linkedin-post-batch-audit
A small Crystal command-line tool that audits a batch of LinkedIn posts against the steps in the LinkedIn Content Strategy playbook. The playbook's point is that a founder's LinkedIn works when it sounds like the founder, talks about what buyers are already discussing and feeds the people who engage into the sales system. This tool does the counting for the steps that need numbers. It reads CSV files and checks them; it never writes a post for you.
1. Audit a batch
The playbook sets a length band for the audience (not for whichever reference profile writes the longest posts), counts every post against it, caps numbered lists at 40% of a batch, gates every topic on active discussion in the last 30 days with the source noted, and keeps a variety table across structure, angle and visual.
crystal build src/cli.cr -o post-audit
./post-audit batch examples/posts.csv --min 1200 --max 1500
The CSV is id,chars,structure,angle,visual,topic_source,topic_days. Use numbered_list for the structure of a numbered-list post. The report shows, per post, where it sits against your band (below, inside or above) and whether its topic passed the gate (a source is noted, and it was discussed within 30 days). It then prints the numbered-list share against the 40% limit and a count of each structure, angle and visual. The exit code is 1 when anything fails. The band is yours to set; the numbers in examples/ are made up.
2. Check a comment
Comments on other people's posts are one to three sentences, pick one specific line and end with a real question.
./post-audit comment "That second point matches what I saw. Which sample did you use?"
It counts sentences and checks that the comment ends with a question. Whether the question is a real one is for you to judge.
3. Rank the people who respond
The playbook captures commenters and engagers as signals, ranks commenters above likers and filters by company fit before anyone is contacted.
./post-audit responders examples/responders.csv
The CSV is name,type with type commenter or liker. Commenters come first and each group keeps its input order. Company fit is a separate step, not done here.
Test
crystal spec
Every name, source and figure in examples/ is made up. MIT licensed.
linkedin-post-batch-audit
- 0
- 0
- 0
- 0
- 0
- about 3 hours ago
- November 27, 2026
MIT License
Fri, 27 Nov 2026 11:04:35 GMT