code-yeongyu/oh-my-openagent / packages/shared-skills/skills/ultimate-browsing
ultimate-browsing
FlaggedReaches web pages the user's browser cannot open: WAF-blocked and bot-scored hosts, platform-native readers (Chinese and social platforms), archive snapshots with provenance, and a browser you own for stealth or throwaway profiles. Not for plain search, an unblocked static fetch, or a page the user's browser can open.
scripts/cookie_domains.py
View on GitHubfrom __future__ import annotations
SQL_LIKE_ESCAPE = "\\"
class CookieDomainError(ValueError):
pass
def normalize_cookie_domain(domain: str) -> str:
normalized = domain.strip().lower().lstrip(".")
if not normalized:
raise CookieDomainError("cookie domain must not be empty")
return normalized
def escape_sql_like(value: str) -> str:
return (
value
.replace(SQL_LIKE_ESCAPE, SQL_LIKE_ESCAPE * 2)
.replace("%", f"{SQL_LIKE_ESCAPE}%")
.replace("_", f"{SQL_LIKE_ESCAPE}_")
)
def domain_where_clause(column: str, domains: list[str]) -> tuple[str, list[str]]:
normalized_domains = sorted({normalize_cookie_domain(domain) for domain in domains})
if not normalized_domains:
raise CookieDomainError("at least one cookie domain is required")
clauses: list[str] = []
params: list[str] = []
for domain in normalized_domains:
clauses.append(
f"({column} = ? OR {column} = ? OR {column} LIKE ? ESCAPE '{SQL_LIKE_ESCAPE}')"
)
params.extend([domain, f".{domain}", f"%.{escape_sql_like(domain)}"])
return " OR ".join(clauses), params
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 197k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |