Skip to content
Back to skills

economist-tui

ASecurity

Terminal UI + CLI to browse Economist headlines, search articles, and read full content in the terminal. Requires one-time browser login for full articles.

  • 4 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added May 26, 2026
toolsbash

Works with

  • terminal
  • cli

Security analysis

A100/100

Pro scans all 18 files and shows the line behind each finding

Scanned May 27, 2026

npx -y skills add tmustier/economist-tui --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of economist-tui?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for economist-tui
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tmustier-economist-tui/badge)](https://www.skillsdirectory.com/skills/tmustier-economist-tui)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: economist-tui
description: Terminal UI + CLI to browse Economist headlines, search articles, and read full content in the terminal. Requires one-time browser login for full articles.
---

# Economist TUI

Terminal app to browse and read The Economist.

## Commands

```bash
# Interactive browse (TUI, type to search, ←/→ page, b back, c columns)
economist browse [section]

# Run background daemon for faster reads
economist serve

economist serve --status
economist serve --stop

# Headlines (default section: leaders)
economist headlines [section] [-n count] [-s search] [--json|--plain]

# Read full article
economist read [url|-] [--raw] [--wrap N] [--columns 1|2]

# Login (one-time, opens browser)
economist login

# List sections
economist sections
```

## Available Sections

`leaders`, `briefing`, `finance`, `us`, `britain`, `europe`, `middle-east`, `asia`, `china`, `americas`, `business`, `tech`, `science`, `culture`, `graphic`, `world-this-week`

## Global Flags

`--version`, `--debug`, `--no-color`

## Examples

```bash
# Get 5 finance headlines
economist headlines finance -n 5

# Search for China coverage (fuzzy tokens)
economist headlines finance -s "china"

# JSON output
economist headlines finance --json

# Read article (markdown output)
economist read "https://www.economist.com/..." --raw

# Pretty terminal rendering
economist read "https://www.economist.com/..." --wrap 100

# Two-column article body
economist read "https://www.economist.com/..." --columns 2

# Debug HTML dump
economist --debug read "https://www.economist.com/..."

# Read URL from stdin
echo "https://www.economist.com/..." | economist read -
```

## Auth Flow

1. Run `economist login` (opens browser)
2. Log in to Economist account
3. Browser closes automatically when login detected
4. Cookies saved to `~/.config/economist-tui/`

## Agent Usage

```bash
# Get headlines as JSON (for parsing)
economist headlines finance --json

# Get first headline URL
economist headlines finance --json | jq -r '.[0].url'

# Read first headline
economist headlines finance --json | jq -r '.[0].url' | xargs economist read --raw

# Plain output (title<TAB>url)
economist headlines finance --plain
```

Note: `browse` requires a TTY and won't work in agent context. Use `headlines --json` instead.

## Notes

- Headlines via RSS: title, one-line description, date, URL (~300 items per section, ~10 months history)
- Full articles require login (headless browser with saved session cookies)
- Articles cached for 1 hour under `~/.config/economist-tui/cache`
- Articles render as markdown with glamour formatting

Files in this skill

  • .research/demo-fixture-topics.md6.4 KB
  • AGENTS.md2.2 KB
  • Makefile307 B
  • RELEASE_NOTES.md4.8 KB
  • SKILL.md2.5 KB
  • cmd/browse.go1.6 KB
  • cmd/demo.go1 KB
  • cmd/headlines.go5.1 KB
  • cmd/login.go3.7 KB
  • cmd/read.go3.2 KB
  • cmd/root.go1.3 KB
  • cmd/sections.go707 B
  • cmd/serve.go1.6 KB
  • demo.tape661 B
  • docs/tui-design.md16.2 KB
  • go.mod2.2 KB
  • go.sum13.8 KB
  • main.go98 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.