kangarooking/x-skills/x-filter
Claude Code and agent skill by kangarooking/x-skills
- community
Checking that the SKILL.md file is still in the repository.
Score and filter topics for X content creation using weighted criteria. Use when user wants to evaluate collected materials, filter topics by score, or mentions "filter topics", "score materials", "x-filter", "选题筛选". Applies 10-point scoring system with customizable weights.
Install
npx vskill@latest install kangarooking/x-skills/x-filterSKILL.md
The same SKILL.md was published earlier as kangarooking/x-skills/x-filter.
X Filter
Score and filter collected materials for X content creation. Topics scoring ≥7 points enter the creation pool.
Scoring System (满分10分)
| Criteria | Weight | Description | |
|---|---|---|---|
| 热度/趋势 | 4分 | Current popularity and trend momentum | |
| 争议性 | 2分 | Discussion potential and debate value | |
| 高价值 | 3分 | Information density and actionable insights | |
| 账号定位相关 | 1分 | Alignment with account positioning |
Threshold: ≥7分 enters creation pool
Prerequisites
- Materials from x-collect (or manual input)
- User profile from x-create/references/user-profile.md (for relevance scoring)
Optional State (Feedback Loop)
If available, use persisted state to improve filtering:
- State dir:
~/.claude/skills/x-create/state/ - Negative samples:
rejected_topics.json(SimilarityFilter) - Events log:
events.jsonl(optional analytics)
If state files don't exist, proceed normally.
Workflow
Input
Accept materials from:
- x-collect output - Structured material report
- Manual list - User-provided topics/URLs
- Raw text - Unstructured content to evaluate
Scoring Process
For each material/topic, score multiple dimensions and combine with weights.
Weighted score (recommended):
FinalScore = Σ(w_i × s_i) - NegPenalty
Where:
s_iare per-dimension scores (0..max)w_icome fromreferences/user-profile.md(fallback to defaults)NegPenaltyis derived from similarity to rejected topics and other negative signals
1. 热度/趋势 (Trending Score: 0-4)
(Optional) 新鲜度 (Freshness)
- If you can infer recency from sources, either:
- fold it into Trending score, or
- add a small bonus/penalty (e.g., +0.5 for <72h, -0.5 for >30d)
2. 争议性 (Controversy Score: 0-2)
3. 高价值 (Value Score: 0-3)
4. 账号定位相关 (Relevance Score: 0-1)
Check user profile at: ~/.claude/skills/x-create/references/user-profile.md If not found, assume domains: [AI/科技, 创业, 个人成长]
SimilarityFilter (Negative Samples):
- If
~/.claude/skills/x-create/state/rejected_topics.jsonexists, compare each candidate topic to rejected items. - If max similarity ≥ 0.85: mark as likely duplicate/low-value → strong penalty or direct reject.
- If 0.75 ≤ similarity < 0.85: apply soft penalty (e.g., -2 points) and explain why.
(Implementation via script):
python ~/.claude/skills/x-create/scripts/x_state.py similarity --against rejected --text "{topic}" --topk 3
Output Format
Append a machine-readable block for hooks/state ingestion:
Execution Steps
- Load materials from x-collect or user input
- Read user profile for relevance scoring and weights
- (Optional) SimilarityFilter against rejected topics
- Score each material on criteria and compute
FinalScore - Diversity adjustments (recommended):
- Apply source/domain attenuation:
score *= 0.6^(N-1)for repeated sources - Dedup per topic cluster: keep best-scoring item per cluster
- Categorize: Tier A ≥7, Tier B 5-6, Tier C <5
- Output report +
FILTER_JSON - (Optional) Persist feedback-loop state:
- Write Tier C items to rejected set:
python ~/.claude/skills/x-create/scripts/x_state.py reject --topic-json '{"title":"...","reason":"...","stage":"filter"}'- Append event:
python ~/.claude/skills/x-create/scripts/x_state.py event --event filter.scored --payload-json '{"accepted":3,"maybe":2,"rejected":7}'
Example
Input from x-collect:
Scoring:
Customization
Users can customize weights in user-profile.md:
Integration
After filtering, suggest:
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingx-filter/SKILL.md
Popularity
- Repository stars
- 334
- Repository forks
- 52
- 7-day trend score
- 29
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/kangarooking/x-skills/x-filter)