agentleFS
tiangong-aitiangong-ai/agent-skills/ai-tech-summary/SKILL.md

ai-tech-summary

Skill11 starsChanged 3 months agoMITView on GitHub

Retrieve time-windowed RSS evidence from SQLite and let the agent produce final summaries using RAG over selected records and fields. Use when generating daily, weekly, monthly, or custom-range AI tech digests directly in agent responses instead of fixed template reports.

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 3 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read query, dataset, aggregates, records.

    line 45
  2. Distinctive:

    If retrieval is truncated, state that summary is based on sampled top records.

    line 51
  3. Very specific:

    Use --fields to control token budget and relevance.

    line 63
  4. Distinctive:

    Default fields are tuned for summarization:

    line 64
  5. Distinctive:

    Use this order in final response:

    line 70

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

AI Tech Summary

Core Goal

  • Pull the right records and fields for a requested time range.
  • Package evidence into a compact JSON context for RAG.
  • Let the agent synthesize final summary text from retrieved evidence.
  • Support daily, weekly, monthly, and custom time windows.

Triggering Conditions

  • Receive requests for daily, weekly, or monthly digests.
  • Receive requests for arbitrary date-range summaries.
  • Need evidence-grounded summary output from RSS entries/fulltext.
  • Need agent-generated summary style rather than rigid scripted report format.

Input Requirements

  • Required tables in SQLite: feeds, entries (from ai-tech-rss-fetch).
  • Optional table: entry_content (from ai-tech-fulltext-fetch).
  • Shared DB path should be the same across all RSS skills.
  • In multi-agent runtimes, set AI_RSS_DB_PATH to one absolute DB path for this agent.

RAG Workflow

  1. Retrieve evidence context by time window.
export AI_RSS_DB_PATH="/absolute/path/to/workspace-rss-bot/ai_rss.db"

python3 scripts/time_report.py \
  --db "$AI_RSS_DB_PATH" \
  --period weekly \
  --date 2026-02-10 \
  --max-records 120 \
  --max-per-feed 20 \
  --summary-chars 8192 \
  --fulltext-chars 8192 \
  --pretty \
  --output /tmp/ai-tech-weekly-context.json
  1. Load retrieval output and generate final summary in agent response.
  • Read query, dataset, aggregates, records.
  • Prioritize records as evidence source.
  • Mention key trends, major events, and notable changes grounded in records.
  1. Include evidence anchors in summary.
  • Reference entry_id, feed, and URL for key claims.
  • If retrieval is truncated, state that summary is based on sampled top records.

Time Window Modes

  • --period daily --date YYYY-MM-DD
  • --period weekly --date YYYY-MM-DD
  • --period monthly --date YYYY-MM-DD
  • --period custom --start ... --end ...
  • Time filtering is always based on entries.first_seen_at (UTC).

Custom boundaries support both YYYY-MM-DD and ISO datetime.

Field Selection for RAG

  • Use --fields to control token budget and relevance.
  • Default fields are tuned for summarization:
    • entry_id,timestamp_utc,timestamp_source,feed_title,feed_url,title,url,summary,fulltext_status,fulltext_length,fulltext_excerpt
  • Common minimal field set for tight context:
    • entry_id,timestamp_utc,feed_title,title,url,summary

Recommended Agent Output Pattern

  • Use this order in final response:
    1. Time range scope
    2. Top themes/trends
    3. Key developments (grouped)
    4. Risks/open questions
    5. Evidence list (entry ids + URLs)

Configurable Parameters

  • --db
  • AI_RSS_DB_PATH (recommended absolute path in multi-agent runtime)
  • --period
  • --date
  • --start
  • --end
  • --max-records
  • --max-per-feed
  • --summary-chars
  • --fulltext-chars
  • --top-feeds
  • --top-keywords
  • --fields
  • --output
  • --pretty
  • --fail-on-empty

Error Handling

  • Missing feeds/entries: fail fast with setup guidance.
  • Invalid date/time/field list: return parse errors.
  • Missing entry_content: continue in metadata-only mode.
  • Empty retrieval set: return empty context; optionally fail with --fail-on-empty.

References

  • references/time-window-rules.md
  • references/report-format.md

Assets

  • assets/config.example.json

Scripts

  • scripts/time_report.py

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.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

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.