Clash Verge Profiles: Remote Subscriptions, Local YAML, and Switching Configs

Learn how Clash Verge profiles work, compare remote subscriptions with local YAML files, set update intervals, and switch or override multiple configs.

What a Profile Contains: Proxies, Proxy Groups, and Rules

In Clash Verge Rev, a profile is a config entry on the Subscriptions page. It can come from a remote URL or a local YAML file. After you select a profile, the client combines it with enabled extensions and client settings to generate the runtime config, which is then passed to the Mihomo core. When troubleshooting, distinguish three layers: what the source file contains, which profile is selected, and what the core is actually using.

  • proxies defines individual proxies, while proxy-providers defines proxy sources that proxy groups can reference. A config can use both.
  • proxy-groups defines policy groups and their available options. For example, a select group lets you choose manually, while a url-test group selects based on test results. Rules reference groups by name.
  • rules determines which group handles each connection, or can send traffic directly to DIRECT or REJECT. In rule mode, rules are evaluated in order; the fallback MATCH rule usually goes last.
  • Sections such as dns and tun handle name resolution and traffic capture. Selecting a profile does not automatically route system traffic through the core. If you use the system proxy or TUN, check the relevant toggle and confirm that the app's traffic is being captured.

Import a Remote Subscription or Local YAML File

These steps use the Clash Verge Rev 2.4.0 desktop app. Buttons may appear in different places in nearby versions. If you can't find a context menu, check the action buttons on the relevant card on the Subscriptions page.

Config source How to import How to update
Remote subscription Subscriptions → paste the subscription URL at the top → Import Update manually or fetch again at the interval set for that entry
Local YAML Subscriptions → New → select Local as the type → choose a file Edit the copy saved by the client, or reimport the revised file

Remote URLs: Make Sure They Return a Complete Config

An accessible URL doesn't necessarily return a valid Clash config. A login page, a string of Base64 text, or a collection of individual proxy URIs is not the same as a complete YAML file with proxy groups and rules. If the provider offers several export formats, choose Clash or Mihomo. A subscription URL containing a token grants access to your account; don't share it in support screenshots or paste it into third-party config checkers.

Local Files: Edit the Copy the Client Actually Uses

Local imports work well for custom rules, offline backups, and comparison tests. After importing, give the entry a name that makes its purpose clear, such as “Local · Rule Baseline.” Then open the config editor from that entry. Editing only the original file in your Downloads folder won't update the copy used by the client. Save a separate copy of the verified YAML so you can reimport it if you need to roll back.

Set a Subscription Update Interval: Test a Manual Update First

  1. On the Subscriptions page, find the remote entry, open Edit Info on its card, and locate Update Interval. This setting applies to that specific entry, not to a global refresh schedule. Check the unit shown in the input field before entering a value.
  2. If the unit is minutes, start with 1440 (24 hours). Use 360 (6 hours) only if you need more frequent updates. This is a scheduling setting; updates aren't guaranteed while the device is shut down or asleep, or while the client isn't running.
  3. After saving, click Update on the same card. Confirm that the last-updated time changes. If the provider has explicitly renamed a proxy group, you can also check that group name to verify the fetched content.
  4. If the update fails, start by checking the error type. For 401 or 403, check your credentials and any provider-side restrictions. 429 means too many requests, so increase the interval. If YAML parsing fails, first make sure the response isn't an HTML page, then check the config's indentation and syntax.

A remote update can overwrite edits made directly to the subscription file. To keep a fixed, recoverable copy, save it as a local entry. To preserve your changes across updates, put them in the extension config. Updating more often won't fix invalid formatting or an expired token.

Switch Between Profiles: Verify the Matching Rule and Final Route

  1. On the Subscriptions page, give entries clear names, such as “Remote · Daily” and “Local · Fallback.” Click the target card and make sure it shows as selected. Importing successfully and having a profile selected are two separate states.
  2. Open Proxies and confirm that the proxy groups match the selected config. Even if both profiles have a group named Proxy, they may contain different proxy lists. Open the select group and check the current choice rather than assuming the route from the previous profile is still in use.
  3. Make sure the client is in Rule mode, then start a new connection from an app whose traffic is routed through the proxy. On the Connections page, check the matching rule and proxy chain for the target domain. Existing connections may persist, so use a new request to verify the switch.
  4. If you see a loading error, a missing group, or unexpected routing, switch back to a verified entry first. Then find the error on the Logs page. Don't change the subscription, DNS, and TUN settings all at once before identifying the cause.

Verify a Local Config with Two Rules

Create a minimal local YAML file with the rules below. No proxies are needed: the first rule rejects example.com, and the second sends all other matching traffic to DIRECT. Temporarily disable extensions that rewrite rules before testing, so you can distinguish their output from the original config.

rules:
  - DOMAIN,example.com,REJECT
  - MATCH,DIRECT

Select the test entry and leave the client in Rule mode. From an app whose traffic is routed through the core, make a new request to https://example.com/. The expected result is a DOMAIN match and a rejected connection. Rejected connections may not remain on the Connections page, so check the Logs page as well. A page failing to load is not enough to confirm that the rule matched. If there's no relevant log entry, first make sure the request went through the core rather than being served directly from the browser cache.

Override Configs Without Changing the Subscription Source

Settings shared across profiles can go in Subscriptions → Global Extension Config (the Merge config). For changes meant only for an experimental setup, test them in that setup's local copy first. Don't make other entries inherit the same rules just to change one profile. The example below sets Mihomo's field for remembering proxy group selections:

profile:
  store-selected: true

The lowercase profile here is a Mihomo YAML field, not the same thing as a profile entry in the client list. It remembers proxy group selections. If a subscription update renames or removes a proxy, or drops it from the group's options, check the group's current selection; the saved preference does not guarantee a fixed route.

Before Changing Rules, Decide Whether to Append or Replace

  • Writing a complete rules list directly in the extension may replace the existing list rather than append to it. Don't assume it works like a simple addition. If your version's extension template explicitly supports prepending rules, use that to insert exceptions, then verify the final order.
  • If a new rule references a proxy group, check that the group exists under the same name in every profile you might switch to. For direct-connection exceptions that work across profiles, use DIRECT instead of relying on a group name unique to one subscription.
  • After saving, test the new rule first, then test something that previously relied on subscription rules. If only the new rule works, check whether it replaced the original list or whether the fallback rule was placed too early.

Rolling back an extension and switching profiles are separate actions: a global extension also applies to the profile you switch back to. If the issue started after saving the extension, restore its previous contents first, then reapply a known-good profile. For UI locations and other core settings, see the user guide.

Download Clash